[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: more fixup for 16a07e875a58

Holger Levsen holger at layer-acht.org
Wed Nov 29 15:48:31 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 e2873a2976540617ae9562616bf4ff14f41f5c7b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 29 15:47:59 2017 +0000

    reproducible Arch Linux: more fixup for 16a07e875a58
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_archlinux.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 4f9398f..725923d 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -56,8 +56,8 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 			# only determine version if there is exactly one artifact...
 			# else it's too error prone and in future the version will
 			# be determined during build anyway...
-				ARTIFACT="$(cd $ARCHLINUX_PKG_PATH/ ; ls *.pkg.tar.xz.html 2>/dev/null)"
-				VERSION="$( echo $ARTIFACT | sed -s 's#bash-##' | sed -s 's#-x86_64.pkg.tar.xz.html##' )"
+				ARTIFACT="$(ls $ARCHLINUX_PKG_PATH/*.pkg.tar.xz.html 2>/dev/null)"
+				VERSION=$( basename $ARTIFACT | sed -s "s#$PKG-##" | sed -s "s#-x86_64.pkg.tar.xz.html##" )
 			else
 				VERSION="0.rb-unknown-1"
 			fi

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