summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-03-03 15:16:43 -0500
committerHolger Levsen <holger@layer-acht.org>2017-03-03 21:24:05 +0100
commit5e4e8cf440bee4d54716c218820330bd2fee4d82 (patch)
treed8bfd66f217b0e1db1e50dafccc144ba5ff35c55
parent7b60dd772ec3f83c05ac84d1cd098a29a9d246a3 (diff)
downloadjenkins.debian.net-5e4e8cf440bee4d54716c218820330bd2fee4d82.tar.xz
reproducible FreeBSD: add -print to find after -prune
Without an action at the end find implicitly applies -print to the entire expression, which means the pruned directory itself is also printed. Signed-off-by: Holger Levsen <holger@layer-acht.org>
-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 994887c7..9c4aa8bb 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -61,7 +61,7 @@ run_diffoscope_on_results() {
fi
cd $TMPDIR/b1
tree .
- for j in $(find * -type l -prune -o -type f |sort -u ) ; do
+ for j in $(find * -type l -prune -o -type f -print |sort -u ) ; do
ALL_FILES[$FREEBSD_TARGET]=$(( ${ALL_FILES[$FREEBSD_TARGET]}+1 ))
call_diffoscope . $j
get_filesize $j