[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible coreboot/openwrt/netbsd: correctly preserve static elements of the pages

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 12:14:11 UTC 2015


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 c44c7b6a71243da50abb27fce45201a0323d3de2
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 11 13:13:54 2015 +0100

    reproducible coreboot/openwrt/netbsd: correctly preserve static elements of the pages
---
 bin/reproducible_html_rsync_remote_results.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_rsync_remote_results.sh b/bin/reproducible_html_rsync_remote_results.sh
index 4e7cf76..24000f9 100755
--- a/bin/reproducible_html_rsync_remote_results.sh
+++ b/bin/reproducible_html_rsync_remote_results.sh
@@ -21,7 +21,9 @@ rsync_remote_results() {
 		# move old results out of the way
 		mv $BASE/$PROJECT ${RESULTS}.tmp
 		# preserve images and css
-		find ${RESULTS}.tmp -name "*css" -o -name "*png" -o -name "*jpg" -exec cp -v {} $RESULTS/ \;
+		for OBJECT in $(find ${RESULTS}.tmp -name "*css" -o -name "*png" -o -name "*jpg") ; do
+			cp -v $OBJECT $RESULTS/
+		done
 		# make the new results visible
 		mv $RESULTS $BASE/$PROJECT
 		# delete the old results

-- 
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