summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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