diff scripts/build_pd.sh @ 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 40badaff5729
children 3b8a28edae41
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;