[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: dont delete file twice

Holger Levsen gitlab at salsa.debian.org
Fri Sep 14 20:07:31 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
fc241445 by Holger Levsen at 2018-09-14T19:07:22Z
reproducible Archlinux: dont delete file twice

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -76,13 +76,13 @@ update_archlinux_repositories() {
 	schroot --end-session -c $SESSION
 	echo "$(date -u) - the following packages are known to us with higher versions than the repo because we build trunk:"
 	cat $OLDER
-	rm -f $OLDER
 	# schedule up to $MAX packages we already know about
 	# (only if less than $THRESHOLD packages are currently scheduled)
 	old=""
 	local MAX=350
 	local THRESHOLD=450
 	if [ $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) -le $THRESHOLD ] ; then
+		rm -f $OLDER
 		local BLACKLIST="/($(echo $ARCHLINUX_BLACKLISTED | sed "s# #|#g"))/"
 		# reschedule
 	        for i in $( ( for REPO in $ARCHLINUX_REPOS ; do



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/fc241445e072b6b645a86fec8e87b3dbf621e445

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/fc241445e072b6b645a86fec8e87b3dbf621e445
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180914/78f69aca/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list