summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-27 10:17:50 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-27 10:17:50 +0200
commited6d629028bb467a858cdd5338b32e72d0cb57c4 (patch)
tree59984821ae61889f17ae356368b45ff82f56ac03 /bin
parent598ecd4864e40d7be41e8adc823b46cdc4fe07c6 (diff)
downloadjenkins.debian.net-ed6d629028bb467a858cdd5338b32e72d0cb57c4.tar.xz
reproducible freebsd: use chflags to make files deletable again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_freebsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index da3009c7..ddc2185d 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -31,7 +31,7 @@ save_freebsd_results(){
$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"
+ $RSSH "sudo chflags -R noschg $TMPDIR ; sudo rm -r $TMPDIR $TMPDIR.tar.xz ; mkdir $TMPDIR"
}
#