buildpack/bin/compile

18 lines
324 B
Text
Raw Normal View History

2019-02-23 20:26:34 +02:00
#!/bin/sh
2018-05-25 19:49:13 +03:00
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
BUILD_DIR=$1
2019-11-30 20:21:21 +02:00
# Build dtach for running scripts in the background
2019-11-30 20:05:23 +02:00
2019-11-30 20:09:18 +02:00
cd src/dtach*
2019-11-30 20:05:23 +02:00
./configure
make
2019-11-30 20:21:21 +02:00
mkdir -p $BUILD_DIR/dtach/bin/
2019-11-30 20:09:18 +02:00
mv dtach $BUILD_DIR/dtach/bin/
2019-11-30 20:27:57 +02:00
cd ../../
2019-11-30 20:05:23 +02:00
2019-11-30 20:21:21 +02:00
# Move scripts to the build directory, which is then moved
# to the dyno
2019-11-30 20:05:23 +02:00
2019-08-06 20:48:24 +03:00
mv script $BUILD_DIR/script