Mercurial > hg > beaglert
diff scripts/update_board @ 532:53ce8eac833c prerelease
Merge
author | chnrx <chris.heinrichs@gmail.com> |
---|---|
date | Thu, 23 Jun 2016 20:41:22 +0100 |
parents | fcf36d293458 |
children | c6ccaf53381a |
line wrap: on
line diff
--- a/scripts/update_board Thu Jun 23 20:40:05 2016 +0100 +++ b/scripts/update_board Thu Jun 23 20:41:22 2016 +0100 @@ -96,11 +96,11 @@ done - +echo $BBB_ADDRESS check_board_alive # Check if destination folder exists # the StrictHostKeyChecking no should prevent the unkown host prompt -ssh -o "StrictHostKeyChecking no" $BBB_ADDRESS [ -d $BBB_BELA_HOME ] && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1 +ssh $BBB_ADDRESS [ -d $BBB_BELA_HOME ] && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1 # Set the date on the board [ $FULL -eq 1 ] && set_date @@ -194,8 +194,7 @@ then export BBB_ADDRESS BBB_BELA_HOME cd $IDE_FOLDER/scripts && ./update_IDE $ALWAYS_YES_FLAG --no-frills - - ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart" + [ $FULL -eq 1 ] && ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart" else # run the IDE printf "\nThe Bela core files were updated on the board, but a valid IDE folder was not found in $IDE_FOLDER/, so the IDE was not updated.