diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-30 18:42:01 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-30 21:53:54 +0200 |
commit | effc564e0c219cc167295c0c0ea623f3fd5ed92b (patch) | |
tree | e622d920f935d86050e8c09eb18f2d3b4ab2bf81 | |
parent | 830dfb59e963bd9233b7eea4ff7acf87239c0dd1 (diff) | |
download | jenkins.debian.net-effc564e0c219cc167295c0c0ea623f3fd5ed92b.tar.xz |
reproducible: build: set +x IFF $DEBUG is false
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 0295c6f2..4355f634 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -261,7 +261,7 @@ call_debbindiff() { ./b2/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes 2>&1 \ ) 2>&1 >> $TMPLOG RESULT=$? - set +x + if ! "$DEBUG" ; then set +x ; fi set -e cat $TMPLOG | tee -a $RBUILDLOG # print out dbd output rm -f $DBDCHROOT_READLOCK $TMPLOG @@ -379,7 +379,7 @@ build_rebuild() { --distribution ${SUITE} \ ${SRCPACKAGE}_*.dsc \ ) 2>&1 | tee -a $RBUILDLOG - set +x + if ! "$DEBUG" ; then set +x ; fi if [ -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then # the first build did not FTBFS, try rebuild it. check_for_race_conditions @@ -404,7 +404,7 @@ build_rebuild() { --distribution ${SUITE} \ ${SRCPACKAGE}_${EVERSION}.dsc ) 2>&1 | tee -a ${RBUILDLOG} - set +x + if ! "$DEBUG" ; then set +x ; fi if [ -f b2/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then # both builds were fine, i.e., they did not FTBFS. FTBFS=0 |