changeset 430:2e01a9d6cb58 prerelease

Removed all the function()
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 19:25:01 +0100
parents 8533f7198644
children cfd1f896cc6f
files scripts/build_pd_heavy.sh scripts/build_project.sh scripts/run_pd_libpd.sh scripts/run_project.sh scripts/set_startup.sh
diffstat 5 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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] <directory-with-source-files>"
--- 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] <directory-with-source-files>"
--- 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]"
--- 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]"