comparison 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
comparison
equal deleted inserted replaced
166:e6558ce09884 167:28d1473742bc
64 #echo "*|*|* Successfully uploaded and converted pd patch into super-fast optimized C code. Brought to you by Heavy! *|*|*"; 64 #echo "*|*|* Successfully uploaded and converted pd patch into super-fast optimized C code. Brought to you by Heavy! *|*|*";
65 echo ""; 65 echo "";
66 66
67 # check how to copy/sync render.cpp file... 67 # check how to copy/sync render.cpp file...
68 if [ $render -eq 0 ]; then 68 if [ $render -eq 0 ]; then
69 cp "hvresources/render.cpp" $projectpath/; 69 rsync "hvresources/render.cpp" $projectpath/ --ignore-existing;
70 fi; 70 fi;
71 71
72 rsync -c -r "$projectpath"/ "$BBB_ADDRESS":"$BBB_PATH"/source; 72 rsync -c -r "$projectpath"/ "$BBB_ADDRESS":"$BBB_PATH"/source;
73 73
74 if [ $? -ne 0 ]; then 74 if [ $? -ne 0 ]; then