summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-26 13:10:21 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-26 13:10:21 +0200
commitd038a763e71b1782daef3811bfe8e4fdcfcb1657 (patch)
tree9d9bee97dd3e46e6953d3fb908eec203dc7b8ccb /bin
parentd478c4efa6a00801cf1634149cc6ea4d0294061b (diff)
downloadjenkins.debian.net-d038a763e71b1782daef3811bfe8e4fdcfcb1657.tar.xz
reproducible freebsd: fixup remote tar'ing
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_freebsd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 566df332..da3009c7 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -27,8 +27,8 @@ save_freebsd_results(){
local RUN=$1
mkdir -p $TMPDIR/$RUN/
# copy results over
- DUMMY_DATE="$(date -u +'%Y-%m-%d') 00:00Z"
- $RSSH "sudo find $TMPDIR --exec touch --date='$DUMMY_DATE' \{\} \;"
+ DUMMY_DATE="$(date -u +'%Y-%m-%d')T00:00:00Z"
+ $RSSH "sudo find $TMPDIR -newer $TMPDIR -exec touch -d '$DUMMY_DATE' {} \;"
$RSSH "sudo find $TMPDIR -print0 | LC_ALL=C sort -z | sudo tar --null -T - --no-recursion -cJf $TMPDIR.tar.xz"
$RSCP:$TMPDIR.tar.xz $TMPDIR/$RUN
$RSSH "sudo rm -r $TMPDIR $TMPDIR.tar.xz ; mkdir $TMPDIR"