changeset 167:28d1473742bc

in build_pd.sh: only copy render.cpp if no such file exists in destination folder
author chnrx <chris.heinrichs@gmail.com>
date Thu, 03 Dec 2015 17:22:07 +0000
parents e6558ce09884
children eb62ed0d67e3
files scripts/build_pd.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/build_pd.sh	Thu Dec 03 17:15:10 2015 +0000
+++ b/scripts/build_pd.sh	Thu Dec 03 17:22:07 2015 +0000
@@ -66,7 +66,7 @@
 
 # check how to copy/sync render.cpp file...
 if [ $render -eq 0 ]; then
-    cp "hvresources/render.cpp" $projectpath/;
+    rsync "hvresources/render.cpp" $projectpath/ --ignore-existing;
 fi;
 
 rsync -c -r "$projectpath"/ "$BBB_ADDRESS":"$BBB_PATH"/source;