summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 22:50:17 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 22:50:17 +0200
commit2ed6532a4bcb4dc553565ce1887d28748aeb4e66 (patch)
treef5b27e067de7d0d5f12fec8e7c6babace759cbad /bin/reproducible_build.sh
parent48682d29fa4df0a3b8e726aad0ea8ca0e59472d2 (diff)
downloadjenkins.debian.net-2ed6532a4bcb4dc553565ce1887d28748aeb4e66.tar.xz
reproducible: finally working version. now fails due to a (known) problem in reproducible build toolchain. added TODO for jenkins jobs. added new job to test all core packages (one day)
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index e8733435..07f4056f 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -25,7 +25,9 @@ for PACKAGE in "$@" ; do
dcmd cp /var/cache/pbuilder/result/${PACKAGE}_*.changes b2
sudo dcmd rm /var/cache/pbuilder/result/${PACKAGE}_*.changes
- ./misc.git/diffp b1/*.changes b2/*.changes
+ TMPFILE=$(mktemp)
+ ./misc.git/diffp b1/*.changes b2/*.changes | tee $TMPFILE
+ grep -qv '^\*\*\*\*\*' $TMPFILE && figlet ${PACKAGE}_&& echo && echo "${PACKAGE} build successfull."
- rm b1 b2 -rf
+ rm b1 b2 $TMPFILE -rf
done