comparison scripts/build_pd_heavy.sh @ 368:4fe4aa2cdfa2 prerelease

Updated rsync command
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 09 Jun 2016 02:47:38 +0100
parents d2ce15eed8c1
children a430a16d2c02
comparison
equal deleted inserted replaced
367:b49dc040af73 368:4fe4aa2cdfa2
148 148
149 echo "updating files on board..." 149 echo "updating files on board..."
150 150
151 BBB_PROJECT_FOLDER=$BBB_PROJECT_HOME"/"$BBB_PROJECT_NAME #make sure there is no trailing slash here 151 BBB_PROJECT_FOLDER=$BBB_PROJECT_HOME"/"$BBB_PROJECT_NAME #make sure there is no trailing slash here
152 BBB_NETWORK_TARGET_FOLDER=$BBB_ADDRESS:$BBB_PROJECT_FOLDER 152 BBB_NETWORK_TARGET_FOLDER=$BBB_ADDRESS:$BBB_PROJECT_FOLDER
153 echo rsync -c -rv --exclude 'HvContext*' "$projectpath"/ "$BBB_NETWORK_TARGET_FOLDER"; 153 rsync -avc --no-t --exclude 'HvContext*' "$projectpath"/ "$BBB_NETWORK_TARGET_FOLDER";
154 rsync -c -rv --exclude 'HvContext*' "$projectpath"/ "$BBB_NETWORK_TARGET_FOLDER";
155 # rsync -c -rv "$projectpath"/ "$BBB_ADDRESS":"$BBB_BELA_HOME"/source;
156 154
157 # for whatever reason these big files used to hang when transferring with rsync 155 # for whatever reason these big files used to hang when transferring with rsync
158 scp "$projectpath"/HvContext* $BBB_NETWORK_TARGET_FOLDER 156 scp "$projectpath"/HvContext* $BBB_NETWORK_TARGET_FOLDER
159 157
160 if [ $? -ne 0 ]; then 158 if [ $? -ne 0 ]; then