[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible FreeBSD: add -print to find after -prune

Holger Levsen holger at layer-acht.org
Fri Mar 3 20:24:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 5e4e8cf440bee4d54716c218820330bd2fee4d82
Author: Ed Maste <emaste at freebsd.org>
Date:   Fri Mar 3 15:16:43 2017 -0500

    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 at layer-acht.org>
---
 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 994887c..9c4aa8b 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list