summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_rsync_remote_results.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-11 13:13:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-11 13:13:54 +0100
commitc44c7b6a71243da50abb27fce45201a0323d3de2 (patch)
tree64a01a80ed34eca09fbd14e36118ff1a776f4788 /bin/reproducible_html_rsync_remote_results.sh
parent083e7ca2da822cb3381c60924549e357467dab4a (diff)
downloadjenkins.debian.net-c44c7b6a71243da50abb27fce45201a0323d3de2.tar.xz
reproducible coreboot/openwrt/netbsd: correctly preserve static elements of the pages
Diffstat (limited to 'bin/reproducible_html_rsync_remote_results.sh')
-rwxr-xr-xbin/reproducible_html_rsync_remote_results.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_html_rsync_remote_results.sh b/bin/reproducible_html_rsync_remote_results.sh
index 4e7cf76e..24000f9e 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