# HG changeset patch # User Giulio Moro # Date 1466038865 -3600 # Node ID 947cb6ef73e7892901ad5c8e6148c3c33c9b6b3f # Parent fc470c2164648c9e5d8048eaa75cfa69f5a871d1 update_board creates remote folder tree diff -r fc470c216464 -r 947cb6ef73e7 scripts/update_board.sh --- a/scripts/update_board.sh Thu Jun 16 01:44:25 2016 +0100 +++ b/scripts/update_board.sh Thu Jun 16 02:01:05 2016 +0100 @@ -22,7 +22,7 @@ echo " This script updates the core Bela files on the BeagleBone, bringing it up - to date with the files in the folder on the host comouter. + to date with the files in the folder on the host computer. The script must be run once to initialize the board before running any of the other scripts in this directory. It must also be run every time you wish to update the core code. @@ -132,7 +132,7 @@ # Create remaining directories needed for building printf "Creating directory structure on BeagleBone..." -#ssh $BBB_ADDRESS "mkdir -p $BBB_BELA_HOME/build ; mkdir -p $BBB_BELA_HOME/build/core ; mkdir -p $BBB_BELA_HOME/build/projects; mkdir -p $BBB_BELA_HOME/projects" +ssh $BBB_ADDRESS "mkdir -p $BBB_BELA_HOME/build/core $BBB_BELA_HOME/projects" error_handler $? printf "Generating on-board documentation..."