# HG changeset patch # User Mark Wielaard # Date 1401783434 -7200 # Node ID b589c9b21c4413641d58d74e2f8fc4b881318216 # Parent 53aff698b34144e6cc534503337ec1c39278e3cb build.sh set EXTRA_VERBOSE make flag for trunk, 6 or 7. diff -r 53aff698b341 -r b589c9b21c44 icedtea/build.sh --- a/icedtea/build.sh Sat Apr 19 18:33:11 2014 +0100 +++ b/icedtea/build.sh Tue Jun 03 10:17:14 2014 +0200 @@ -26,7 +26,13 @@ if [ $# -ne 1 ]; then echo "build.sh takes one argument 6, 7 or trunk" exit -1; -elif [ "$1" != "6" -a "$1" != "7" -a "$1" != trunk ]; then +fi + +if [ "$1" == "6" -o "$1" == "7" ]; then + EXTRA_VERBOSE='VERBOSE=true' +elif [ "$1" == "trunk" ]; then + EXTRA_VERBOSE='LOG=debug' +else echo "build.sh argument must be 6, 7 or trunk" exit -1; fi @@ -118,7 +124,7 @@ && cd $ICEDTEA_BUILD_DIR \ && $ICEDTEA_DIR/configure \ --enable-nss \ - && make VERBOSE=true) 2>&1 | tee $BUILD_LOG_FILE + && make $EXTRA_VERBOSE) 2>&1 | tee $BUILD_LOG_FILE BUILD_RESULT=$? echo "Build result: $BUILD_RESULT"