Mercurial > hg > beaglert
changeset 330:276a8517da13 prerelease
build_project now updates the date of the files on the bbb
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 04 Jun 2016 15:23:52 +0100 |
parents | 9a2a5f14b587 |
children | cfdf0003e6e8 |
files | scripts/build_project.sh |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/build_project.sh Sat Jun 04 14:10:45 2016 +0100 +++ b/scripts/build_project.sh Sat Jun 04 15:23:52 2016 +0100 @@ -111,7 +111,7 @@ scp $HOST_SOURCE_PATH "$BBB_NETWORK_TARGET_FOLDER" else #rsync --delete makes sure it removes files that are not in the origin folder - rsync -av --delete-after --exclude=build $HOST_SOURCE_PATH"/" "$BBB_NETWORK_TARGET_FOLDER/" #trailing slashes used here make sure rsync does not create another folder inside the target folder + rsync -ogprv --delete-after --exclude=build $HOST_SOURCE_PATH"/" "$BBB_NETWORK_TARGET_FOLDER/" #trailing slashes used here make sure rsync does not create another folder inside the target folder fi; if [ $? -ne 0 ] @@ -131,11 +131,14 @@ if [ $RUN_WITHOUT_SCREEN -ne 0 ] then - ssh -t $BBB_ADDRESS "$MAKE_COMMAND run" + echo ssh -t $BBB_ADDRESS "$MAKE_COMMAND run" + ssh -t $BBB_ADDRESS "$MAKE_COMMAND run" elif [ $RUN_IN_FOREGROUND -eq 0 ] then + echo ssh $BBB_ADDRESS "$MAKE_COMMAND runscreen" ssh $BBB_ADDRESS "$MAKE_COMMAND runscreen" else + echo ssh -t $BBB_ADDRESS "$MAKE_COMMAND runscreenfg" ssh -t $BBB_ADDRESS "$MAKE_COMMAND runscreenfg" fi fi