summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_archlinux_pkg.sh
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2017-11-04 23:51:08 +0100
committerMattia Rizzolo <mattia@debian.org>2017-11-05 00:00:08 +0100
commit510f39c734225244010ec22745f86d441c862b31 (patch)
tree3af5febc3220a90e754c95466f4a37ca186ce728 /bin/reproducible_build_archlinux_pkg.sh
parent34cad7b14a8a0bc9fcd51456bc56bfc36f6efbc7 (diff)
downloadjenkins.debian.net-510f39c734225244010ec22745f86d441c862b31.tar.xz
reproducible-archlinux: fix date arguments
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Diffstat (limited to 'bin/reproducible_build_archlinux_pkg.sh')
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index bcd43598..6f8335b9 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