comparison scripts/setup_board.sh @ 405:d7b002d68cdb prerelease

fixed setup_board.sh to call setup_IDE.sh correctly
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Wed, 15 Jun 2016 11:56:50 +0100
parents c29f07b7350e
children f5fcd50a6f8d
comparison
equal deleted inserted replaced
404:e72853aecab8 405:d7b002d68cdb
34 shift $((OPTIND-1)) 34 shift $((OPTIND-1))
35 35
36 # Find location of this script so we can locate the rest of the files 36 # Find location of this script so we can locate the rest of the files
37 SCRIPTPATH=$(readlink "$0") 37 SCRIPTPATH=$(readlink "$0")
38 SCRIPTDIR=$(dirname "$SCRIPTPATH") 38 SCRIPTDIR=$(dirname "$SCRIPTPATH")
39 [ -z "$IDE_FOLDER" ] && IDE_FOLDER=$SCRIPTDIR/../bela-ide/ 39 [ -z "$IDE_FOLDER" ] && IDE_FOLDER=$SCRIPTDIR/../../bela-ide/
40 40
41 read -p "Warning: this script will DELETE any existing Bela files from your BeagleBone! Continue? (y/N) " -r 41 read -p "Warning: this script will DELETE any existing Bela files from your BeagleBone! Continue? (y/N) " -r
42 echo 42 echo
43 if [[ $REPLY = [yY] ]] 43 if [[ $REPLY = [yY] ]]
44 then 44 then