# HG changeset patch # User Giulio Moro # Date 1466101501 -3600 # Node ID 2e01a9d6cb581e0b8639f61b770f949f4cfb1211 # Parent 8533f7198644228644fdbd73971ec99d21c3b434 Removed all the function() diff -r 8533f7198644 -r 2e01a9d6cb58 scripts/build_pd_heavy.sh --- a/scripts/build_pd_heavy.sh Thu Jun 16 19:21:46 2016 +0100 +++ b/scripts/build_pd_heavy.sh Thu Jun 16 19:25:01 2016 +0100 @@ -44,7 +44,7 @@ fi; -function usage +usage () { printf "\nUSAGE: build_pd.sh [[-i input folder containing _main.pd file ]\ [-o output folder for new heavy project .c files (default ../projects/heavy/hvtemp)]\ @@ -100,7 +100,7 @@ RELEASE_STRING="-r $release" fi -function uploadBuildRun(){ +uploadBuildRun(){ if [ $NO_UPLOAD -eq 0 ]; then # remove old static files to avoid obsolete errors # use -rf to prevent warnings in case they do not exist diff -r 8533f7198644 -r 2e01a9d6cb58 scripts/build_project.sh --- a/scripts/build_project.sh Thu Jun 16 19:21:46 2016 +0100 +++ b/scripts/build_project.sh Thu Jun 16 19:25:01 2016 +0100 @@ -16,7 +16,7 @@ [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject" [ -z "$BBB_PROJECT_NAME" ] && BBB_PROJECT_NAME=$BBB_DEFAULT_PROJECT_NAME -function usage +usage() { THIS_SCRIPT=`basename "$0"` echo "Usage: $THIS_SCRIPT [-c command-line-args] [-nbfF] " diff -r 8533f7198644 -r 2e01a9d6cb58 scripts/run_pd_libpd.sh --- a/scripts/run_pd_libpd.sh Thu Jun 16 19:21:46 2016 +0100 +++ b/scripts/run_pd_libpd.sh Thu Jun 16 19:25:01 2016 +0100 @@ -12,7 +12,7 @@ RUN_IN_FOREGROUND=0 RUN_WITHOUT_SCREEN=0 -function usage +usage() { THIS_SCRIPT=`basename "$0"` echo "Usage: $THIS_SCRIPT [-c command-line-args] [-nfF] " diff -r 8533f7198644 -r 2e01a9d6cb58 scripts/run_project.sh --- a/scripts/run_project.sh Thu Jun 16 19:21:46 2016 +0100 +++ b/scripts/run_project.sh Thu Jun 16 19:25:01 2016 +0100 @@ -13,7 +13,7 @@ [ -z "$BBB_PROJECT_HOME" ] && BBB_PROJECT_HOME="${BBB_BELA_HOME}/projects/" [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject" -function usage +usage() { THIS_SCRIPT=`basename "$0"` echo "Usage: $THIS_SCRIPT [-b path-on-beaglebone] [-c command-line-args] [-fF]" diff -r 8533f7198644 -r 2e01a9d6cb58 scripts/set_startup.sh --- a/scripts/set_startup.sh Thu Jun 16 19:21:46 2016 +0100 +++ b/scripts/set_startup.sh Thu Jun 16 19:25:01 2016 +0100 @@ -18,7 +18,7 @@ # This path is hard-coded in the Bela image at present. -function usage +usage() { THIS_SCRIPT=`basename "$0"` echo "Usage: $THIS_SCRIPT [-b path-on-beaglebone] [-c command-line-args] [-n] [-l]"