[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: using 'mktemp -i' would have been another way to fix this

Holger Levsen holger at moszumanska.debian.org
Wed Jun 3 12:27:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 546bb21bfc84d4c454abe8b31a21217fc7e1cc1c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Jun 3 14:27:28 2015 +0200

    reproducible: using 'mktemp -i' would have been another way to fix this
---
 bin/reproducible_create_meta_pkg_sets.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 7f8eeaa..3309326 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -175,11 +175,13 @@ update_pkg_sets() {
 
 	# packages which had a DSA
 	if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[8]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[8]}.pkgset ] ; then
+		rm ${TMPFILE2}
 		svn export svn://svn.debian.org/svn/secure-testing/data/DSA/list ${TMPFILE2}
 		grep "^\[" ${TMPFILE2} | grep "DSA-" | cut -d " " -f5|sort -u > $TMPFILE
 		packages_list_to_deb822
 		convert_from_deb822_into_source_packages_only
 		update_if_similar ${META_PKGSET[8]}.pkgset
+		rm ${TMPFILE2}
 	fi
 
 	# gnome and everything it depends on

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list