[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: dont fail if we cannot delete a (bogus) version file

Holger Levsen holger at layer-acht.org
Sat Dec 2 15:57:02 UTC 2017


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 3ea21beb4036b91c4cd4431683f0dbbb8d93194e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 2 15:56:50 2017 +0000

    reproducible Arch Linux: dont fail if we cannot delete a (bogus) version file
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_archlinux_scheduler.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index 7c50d8f..37c11d5 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -93,7 +93,7 @@ echo "$(date -u) - currently $(find $BASE/archlinux/ -name pkg.needs_build | wc
 for i in $(grep -B 2  0.rb-unknown-1 archlinux.html | xargs echo | sed -s 's# -- #\n#g' | cut -d '>' -f2-|cut -d '<' -f1-3|sed -s 's#</td> <td>#/#g'|head -100) ; do
 	#if [ -z "$(grep UNKNOWN $i/pkg.state)" ] ; then
 		touch $i/pkg.needs_build
-		rm $i/pkg.version
+		rm $i/pkg.version || true
 	#fi
 done
 echo "$(date -u) - After running the crazy scheduler, $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) packages scheduled."

-- 
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