You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
600 B
Bash
21 lines
600 B
Bash
if [ ! -f /rathena/login-server ]; then
|
|
export runBuild=1;
|
|
elif [ ! -f /rathena/char-server ]; then
|
|
export runBuild=1;
|
|
elif [ ! -f /rathena/map-server ]; then
|
|
export runBuild=1;
|
|
else
|
|
export runBuild=0;
|
|
fi
|
|
|
|
if [ "${runBuild}" -eq "1" ]; then
|
|
### checking that ./configure has ran by looking for make file
|
|
if [ ! -f /rathena/make ]; then
|
|
echo "Warning: ./configure will be executed with provided values";
|
|
echo "Make sure you have set the variables you want in the docker-compose.yml file";
|
|
echo $BUILDER_CONFIGURE
|
|
./configure $BUILDER_CONFIGURE
|
|
fi
|
|
|
|
make clean server;
|
|
fi |