diff --git a/build.sh b/build.sh index 429e555fb13bb7785b2c8edee08276dd31513eab..dc10958dfb42e9a435258ea3ef97c23f0c8be124 100755 --- a/build.sh +++ b/build.sh @@ -318,7 +318,7 @@ prepare_boinc() echo "Preparing BOINC..." | tee -a $LOGFILE mkdir -p $ROOT/3rdparty/boinc >> $LOGFILE || failure mkdir -p $ROOT/build/boinc >> $LOGFILE || failure - + cd $ROOT/3rdparty/boinc || failure if [ -d .git ]; then echo "Updating BOINC (tag: $1)..." | tee -a $LOGFILE @@ -332,14 +332,14 @@ prepare_boinc() else # workaround for old git versions rm -rf $ROOT/3rdparty/boinc >> $LOGFILE || failure - + echo "Retrieving BOINC (tag: $1) (this may take a while)..." | tee -a $LOGFILE cd $ROOT/3rdparty || failure git clone git://git.aei.uni-hannover.de/shared/einsteinathome/boinc.git boinc >> $LOGFILE 2>&1 || failure cd $ROOT/3rdparty/boinc || failure git checkout $1 >> $LOGFILE 2>&1 || failure fi - + return 0 } @@ -361,7 +361,7 @@ build_sdl() if [ "$1" == "$TARGET_MAC" ]; then $ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-screensaver=yes --enable-video-x11=no >> $LOGFILE 2>&1 || failure else - $ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-screensaver=yes >> $LOGFILE 2>&1 || failure + $ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-screensaver=yes >> $LOGFILE 2>&1 || failure fi make >> $LOGFILE 2>&1 || failure make install >> $LOGFILE 2>&1 || failure