buildpack/bin/compile

17 lines
291 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:05:23 +02:00
# Build dtach for running server in background
cd src/detach*
./configure
make
mkdir $BUILD_DIR/detach/bin/
mv detach $BUILD_DIR/detach/bin/
# Set up scripts
2019-08-06 20:48:24 +03:00
mv script $BUILD_DIR/script
mv $BIN_DIR/start $BUILD_DIR/script/