[Qa-jenkins-scm] [jenkins.debian.net] 02/02: fixup 8f077e95: reproducible Arch Linux: add code to determine the version of the package being built (and temporarily spam irc)

Holger Levsen holger at layer-acht.org
Wed Nov 29 17:20:34 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 e80a373a5ce57e677b69e54f637189118cef24ce
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 29 17:20:16 2017 +0000

    fixup 8f077e95: reproducible Arch Linux: add code to determine the version of the package being built (and temporarily spam irc)
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index e8811c8..ae12ee2 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -173,7 +173,7 @@ first_build() {
 	# TODO: debugging, remove me
 	schroot --run-session -c $SESSION --directory "$BUILDDIR" -- pacman -Si gnupg 2>&1 | tee -a $LOG
 	# determine the version of the package being build
-	source PKGBUILD
+	source "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk/PKGBUILD"
 	if [[ -n epoch ]] ; then
 		epoch="$epoch:"
 	fi
@@ -261,7 +261,7 @@ second_build() {
 	# TODO: debugging, remove me
 	schroot --run-session -c $SESSION --directory "$BUILDDIR" -- pacman -Si gnupg 2>&1 | tee -a $LOG
 	# determine the version of the package being build
-	source PKGBUILD
+	source "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk/PKGBUILD"
 	if [[ -n epoch ]] ; then
 		epoch="$epoch:"
 	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