From 5e4e8cf440bee4d54716c218820330bd2fee4d82 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 3 Mar 2017 15:16:43 -0500 Subject: 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 --- bin/reproducible_freebsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2