comparison scripts/run_project.sh @ 430:2e01a9d6cb58 prerelease

Removed all the function()
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 19:25:01 +0100
parents 99de323c13b3
children d9a4fc5357e7
comparison
equal deleted inserted replaced
429:8533f7198644 430:2e01a9d6cb58
11 [ -z "$RUN_IN_FOREGROUND" ] && RUN_IN_FOREGROUND=1 11 [ -z "$RUN_IN_FOREGROUND" ] && RUN_IN_FOREGROUND=1
12 [ -z "$RUN_WITHOUT_SCREEN" ] && RUN_WITHOUT_SCREEN=0 12 [ -z "$RUN_WITHOUT_SCREEN" ] && RUN_WITHOUT_SCREEN=0
13 [ -z "$BBB_PROJECT_HOME" ] && BBB_PROJECT_HOME="${BBB_BELA_HOME}/projects/" 13 [ -z "$BBB_PROJECT_HOME" ] && BBB_PROJECT_HOME="${BBB_BELA_HOME}/projects/"
14 [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject" 14 [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject"
15 15
16 function usage 16 usage()
17 { 17 {
18 THIS_SCRIPT=`basename "$0"` 18 THIS_SCRIPT=`basename "$0"`
19 echo "Usage: $THIS_SCRIPT [-b path-on-beaglebone] [-c command-line-args] [-fF]" 19 echo "Usage: $THIS_SCRIPT [-b path-on-beaglebone] [-c command-line-args] [-fF]"
20 20
21 echo " 21 echo "