From 25f9b610cdf5ce36ffa7644e48fb75356b9b4092 Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver.bock@aei.mpg.de> Date: Thu, 24 Jul 2008 15:58:04 +0200 Subject: [PATCH] Build debug target when using "hidden" option --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index ee57ebb..b0f7029 100755 --- a/build.sh +++ b/build.sh @@ -416,7 +416,7 @@ build_starsphere() export ORC_INSTALL=$ROOT/install || failure cd $ROOT/build/orc || failure cp $ROOT/src/orc/Makefile . >> $LOGFILE 2>&1 || failure - make >> $LOGFILE 2>&1 || failure + make $1 >> $LOGFILE 2>&1 || failure make install >> $LOGFILE 2>&1 || failure echo "Successfully built and installed Starsphere [ORC]!" | tee -a $LOGFILE @@ -436,7 +436,7 @@ build_starsphere() else cp -f $ROOT/src/framework/Makefile . >> $LOGFILE 2>&1 || failure fi - make >> $LOGFILE 2>&1 || failure + make $1 >> $LOGFILE 2>&1 || failure make install >> $LOGFILE 2>&1 || failure echo "Successfully built and installed Starsphere [Framework]!" | tee -a $LOGFILE @@ -452,7 +452,7 @@ build_starsphere() else cp -f $ROOT/src/starsphere/Makefile . >> $LOGFILE 2>&1 || failure fi - make >> $LOGFILE 2>&1 || failure + make $1 >> $LOGFILE 2>&1 || failure make install >> $LOGFILE 2>&1 || failure echo "Successfully built and installed Starsphere [Application]!" | tee -a $LOGFILE @@ -590,7 +590,7 @@ case "$1" in "--starsphere") # "hidden" bonus option :-) TARGET=$TARGET_LINUX - build_starsphere || failure + build_starsphere "debug" || failure exit 0 ;; *) -- GitLab