summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-02-23 10:13:24 -0500
committerHolger Levsen <holger@layer-acht.org>2017-02-23 16:29:45 +0100
commitc966c3cdf9fb1f9d81da24b084b1895eee501a73 (patch)
tree74485207317db28ae7775ca2c84558b211cf5357
parented84df970029aea58953aebb41fb60c7f9dfab07 (diff)
downloadjenkins.debian.net-c966c3cdf9fb1f9d81da24b084b1895eee501a73.tar.xz
reproducible FreeBSD: exlcude symlinks when comparing results
The package repo contains a latest/ symlink to the actual package directory. Prune symlinks so we don't compare the same packages twice. 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 c37055a5..5aa27d5f 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 f |sort -u ) ; do
+ for j in $(find * -type l -prune -o -type f |sort -u ) ; do
ALL_FILES[$FREEBSD_TARGET]=$(( ${ALL_FILES[$FREEBSD_TARGET]}+1 ))
call_diffoscope . $j
get_filesize $j