diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-24 00:09:42 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-24 00:09:42 +0200 |
commit | 67a9f9997a82a61b0ecdd65e1240ea86d1686451 (patch) | |
tree | 72a6b458a2b37e60b5d53066214eba5b80091e4b /bin | |
parent | 6115a0f3eea845e140cd7f8f785062c1efe8e252 (diff) | |
download | jenkins.debian.net-67a9f9997a82a61b0ecdd65e1240ea86d1686451.tar.xz |
reproducible: name good+bad packages
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index dc696d0d..6a5f8b3e 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -17,6 +17,8 @@ fi COUNT_TOTAL=0 COUNT_GOOD=0 COUNT_BAD=0 +GOOD="" +BAD="" for PACKAGE in "$@" ; do let "COUNT_TOTAL=COUNT_TOTAL+1" rm b1 b2 -rf @@ -37,9 +39,11 @@ for PACKAGE in "$@" ; do echo echo "${PACKAGE} build successfull." let "COUNT_GOOD=COUNT_GOOD+1" + GOOD="${PACKAGE} ${GOOD}" else echo "Warning: ${PACKAGE} failed to build reproducible." let "COUNT_BAD=COUNT_BAD+1" + GOOD="${PACKAGE} ${BAD}" fi rm b1 b2 ${TMPFILE} -rf @@ -47,7 +51,5 @@ done echo echo "$COUNT_TOTAL packages attempted to build in total." -echo "$COUNT_GOOD packages successfully built reproducible." -echo "$COUNT_BAD packages failed to built reproducible." -echo -echo "The full list of packages: $@" +echo "$COUNT_GOOD packages successfully built reproducible: ${GOOD}" +echo "$COUNT_BAD packages failed to built reproducible: ${BAD}" |