mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-06 04:02:57 +00:00
17 lines
324 B
Bash
Executable file
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
|