buildpack/bin/compile
2019-11-30 20:27:57 +02:00

17 lines
324 B
Bash
Executable file

#!/bin/sh
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
BUILD_DIR=$1
# Build dtach for running scripts in the background
cd src/dtach*
./configure
make
mkdir -p $BUILD_DIR/dtach/bin/
mv dtach $BUILD_DIR/dtach/bin/
cd ../../
# Move scripts to the build directory, which is then moved
# to the dyno
mv script $BUILD_DIR/script