[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: refactoring
Holger Levsen
holger at layer-acht.org
Wed Nov 29 17:25:06 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 a20c30e0914e21b471e6767744fae957dc9a26b6
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 29 17:24:46 2017 +0000
reproducible Arch Linux: refactoring
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 ae12ee2..a93e301 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -174,7 +174,7 @@ first_build() {
schroot --run-session -c $SESSION --directory "$BUILDDIR" -- pacman -Si gnupg 2>&1 | tee -a $LOG
# determine the version of the package being build
source "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk/PKGBUILD"
- if [[ -n epoch ]] ; then
+ if [ -n "$epoch" ] ; then
epoch="$epoch:"
fi
VERSION="$epoch$pkgver-$pkgrel"
@@ -262,7 +262,7 @@ second_build() {
schroot --run-session -c $SESSION --directory "$BUILDDIR" -- pacman -Si gnupg 2>&1 | tee -a $LOG
# determine the version of the package being build
source "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk/PKGBUILD"
- if [[ -n epoch ]] ; then
+ if [ -n "$epoch" ] ; then
epoch="$epoch:"
fi
VERSION="$epoch$pkgver-$pkgrel"
--
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