summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-14 15:19:09 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-14 19:38:08 +0200
commitf369c862bac22fbd115a8944aa8cddc453abf978 (patch)
tree0aa1331e4735e7efe2a93ae367ce0d2ca0cf5488 /bin/reproducible_build.sh
parent8796a36a6cfaff2ce50eea847924b2e3b0a68f10 (diff)
downloadjenkins.debian.net-f369c862bac22fbd115a8944aa8cddc453abf978.tar.xz
reproducible: whitespaces matter
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 0ecfb10d..f05aa35a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -87,7 +87,7 @@ else
if ! $SUITABLE ; then
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"not for us\", \"$DATE\")"
set +x
- echo "Package ${SRCPACKAGE} (${VERSION}) shall only be build on \"$(echo "${ARCHITECTURES}")\" and thus was skipped." | tee -a ${RBUILDLOG}
+ echo "Package ${SRCPACKAGE} (${VERSION}) shall only be build on \"$(echo "${ARCHITECTURES}" | xargs echo )\" and thus was skipped." | tee -a ${RBUILDLOG}
unschedule_from_db
exit 0
fi
@@ -126,9 +126,10 @@ else
if [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then
cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/
figlet ${SRCPACKAGE}
+ echo | tee -a ${RBUILDLOG}
echo "debbindiff.py found no differences in the changes files, and a .buildinfo file also exist." | tee -a ${RBUILDLOG}
- echo
- echo "${SRCPACKAGE} built successfully and reproducibly."
+ echo | tee -a ${RBUILDLOG}
+ echo "${SRCPACKAGE} built successfully and reproducibly." | tee -a ${RBUILDLOG}
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"reproducible\", \"$DATE\")"
unschedule_from_db
else