Remove unused configuration from build.sh

This commit is contained in:
Michał Janiszewski 2017-08-24 11:24:38 +02:00 committed by GitHub
parent 20330707c3
commit 8eb98777fe
1 changed files with 2 additions and 9 deletions

View File

@ -21,14 +21,7 @@ fi
pushd build
echo OPENRCT2_CMAKE_OPTS = "$OPENRCT2_CMAKE_OPTS"
if [[ $TARGET == "docker32" ]]
then
PARENT=$(readlink -f ../)
chmod a+rwx "$(pwd)"
chmod g+s "$(pwd)"
# CMAKE and MAKE opts from environment
docker run -u travis -v "$PARENT":"$PARENT" -w "$PARENT"/build -i -t openrct2/openrct2:32bit-only bash -c "cmake ../ -DFORCE32=on $OPENRCT2_CMAKE_OPTS && make $OPENRCT_MAKE_OPTS"
elif [[ $TARGET == "docker64" ]]
if [[ $TARGET == "docker64" ]]
then
PARENT=$(readlink -f ../)
chmod a+rwx "$(pwd)"
@ -72,7 +65,7 @@ if [[ ! -h build/data ]]; then
ln -s ../data build/data
fi
if [[ $TARGET == "ubuntu_i686" ]] || [[ $TARGET == "docker32" ]]; then
if [[ $TARGET == "ubuntu_i686" ]]; then
if [[ ! -h openrct2 ]]; then
ln -s build/openrct2 openrct2
fi