summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 23:58:50 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 23:58:50 +0200
commit68f7984a85d26dbccefcbf27e1e2cd5716aace4f (patch)
tree3307142c9fad656c5e5f8b45595651793ddb9f2d /bin/reproducible_build.sh
parent6f3051d540fb1e2243a865bc0324a2ab25150b32 (diff)
downloadjenkins.debian.net-68f7984a85d26dbccefcbf27e1e2cd5716aace4f.tar.xz
reproducible: more minor misc fixes
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 23038937..bde4d563 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -28,10 +28,11 @@ for PACKAGE in "$@" ; do
sudo pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz ${PACKAGE}_*.dsc
dcmd cp /var/cache/pbuilder/result/${PACKAGE}_*.changes b2
sudo dcmd rm /var/cache/pbuilder/result/${PACKAGE}_*.changes
+ cat b1/${PACKAGE}_*.changes
TMPFILE=$(mktemp)
- ./misc.git/diffp b1/*.changes b2/*.changes | tee $TMPFILE
- if grep -qv '^\*\*\*\*\*' $TMPFILE ; then
+ ./misc.git/diffp b1/*.changes b2/*.changes | tee ${TMPFILE}
+ if grep -qv '^\*\*\*\*\*' ${TMPFILE} ; then
figlet ${PACKAGE}
echo
echo "${PACKAGE} build successfull."
@@ -41,12 +42,12 @@ for PACKAGE in "$@" ; do
let "COUNT_BAD=COUNT_BAD+1"
fi
- rm b1 b2 $TMPFILE -rf
+ rm b1 b2 ${TMPFILE} -rf
done
echo
echo "$COUNT_TOTAL packages attempted to build in total."
echo "$COUNT_GOOD packages successfully built reproducible."
-echo "$COUNT_GOOD packages failed to built reproducible."
+echo "$COUNT_BAD packages failed to built reproducible."
echo
echo "The full list of packages: $@"