[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: more dummy version handling

Holger Levsen holger at layer-acht.org
Fri Dec 1 01:44:57 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 fc723c116e0b0f2fa87f8938060cda7d94efd4de
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 1 01:44:46 2017 +0000

    reproducible Arch Linux: more dummy version handling
    
    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 75d89ee..a86c26e 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -32,7 +32,7 @@ update_archlinux_repositories() {
 		grep "^$REPO" "$ARCHLINUX_PKGS"_full_pkgbase_list | \
 			while read repo pkgbase version; do
 				printf '%s %s\n' "$pkgbase" "$version"
-				VERSION=$(cat $BASE/archlinux/$REPO/$pkgbase/pkg.version)
+				VERSION=$(cat $BASE/archlinux/$REPO/$pkgbase/pkg.version 2>/dev/null || echo 0.rb-unknown-1)
 				if [ "$VERSION" = "0.rb-unknown-1" ] ; then
 					echo "$(date -u ) - we know $REPO/$pkgbase has dummy $VERSION version, but c'est la vie."
 				elif [ "$(schroot --run-session -c $SESSION --directory /var/tmp -- vercmp $version $VERSION)" = "1" ] ; then

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