From c966c3cdf9fb1f9d81da24b084b1895eee501a73 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 23 Feb 2017 10:13:24 -0500 Subject: 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 --- 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 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 -- cgit v1.2.3-54-g00ecf