From fbe7d00bf36e05ed3aa5acdb292066c62f6fc6ce Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 1 Aug 2015 10:23:55 +0200 Subject: prepare for binary packages support --- bin/reproducible_html_repository_comparison.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'bin') 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 "" done write_page "

" -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 + -- cgit v1.2.3-70-g09d2