[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible-archlinux: fix date arguments
Mattia Rizzolo
mattia at debian.org
Sat Nov 4 23:00:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit 510f39c734225244010ec22745f86d441c862b31
Author: kpcyrd <git at rxv.cc>
Date: Sat Nov 4 23:51:08 2017 +0100
reproducible-archlinux: fix date arguments
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
bin/reproducible_build_archlinux_pkg.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index bcd4359..6f8335b 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -84,7 +84,7 @@ choose_package() {
*) MIN_AGE=365 # should never happen…
;;
esac
- touch -d "$(date -d '$MIN_AGE days ago' '+%Y-%m-%d') 00:00 UTC" $DUMMY
+ touch -d "$(date -d "$MIN_AGE days ago" '+%Y-%m-%d') 00:00 UTC" $DUMMY
for PKG in $(sort -R ${ARCHLINUX_PKGS}_$REPO) ; do
# build package if it has never build or at least $MIN_AGE days ago
if [ ! -d $BASE/archlinux/$REPO/$PKG ] || [ $DUMMY -nt $BASE/archlinux/$REPO/$PKG ] ; 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