diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-01 10:23:55 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-01 10:23:55 +0200 |
commit | fbe7d00bf36e05ed3aa5acdb292066c62f6fc6ce (patch) | |
tree | 6c72613e2557b1bef4a52b86bd868af5c6977adc | |
parent | 27d6da4d7114dbc2c0d0c8a193225826d4f4e122 (diff) | |
download | jenkins.debian.net-fbe7d00bf36e05ed3aa5acdb292066c62f6fc6ce.tar.xz |
prepare for binary packages support
-rwxr-xr-x | bin/reproducible_html_repository_comparison.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh index 67dc6d2e..1c19da18 100755 --- a/bin/reproducible_html_repository_comparison.sh +++ b/bin/reproducible_html_repository_comparison.sh @@ -13,6 +13,10 @@ common_init "$@" VIEW=repositories PAGE=index_${VIEW}.html SOURCES=$(mktemp --tmpdir=$TEMPDIR repo-comp-XXXXXXXXX) +declare -a PACKAGES +for ARCH in $ARCHES ; do + PACKAGES[$ARCH]=$(mktemp --tmpdir=$TEMPDIR repo-comp-XXXXXXXXX) +done TMPFILE=$(mktemp --tmpdir=$TEMPDIR repo-comp-XXXXXXXXX) MODIFIED_IN_SID=0 @@ -180,8 +184,14 @@ for PKG in $SOURCEPKGS ; do write_page "</tr>" done write_page "</table></p>" -rm $SOURCES $TMPFILE write_page_footer publish_page echo "$MODIFIED_IN_SID" > /srv/reproducible-results/modified_in_sid.txt echo "$MODIFIED_IN_EXP" > /srv/reproducible-results/modified_in_exp.txt + +# cleanup +rm $SOURCES $TMPFILE +for ARCH in $ARCHES ; do + rm ${PACKAGES[$ARCH]} +done + |