comparison scripts/build_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 cea66c2af560
comparison
equal deleted inserted replaced
429:8533f7198644 430:2e01a9d6cb58
14 [ -z "$RUN_WITHOUT_SCREEN" ] && RUN_WITHOUT_SCREEN=0 14 [ -z "$RUN_WITHOUT_SCREEN" ] && RUN_WITHOUT_SCREEN=0
15 [ -z "$BBB_PROJECT_HOME" ] && BBB_PROJECT_HOME="${BBB_BELA_HOME}/projects/" 15 [ -z "$BBB_PROJECT_HOME" ] && BBB_PROJECT_HOME="${BBB_BELA_HOME}/projects/"
16 [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject" 16 [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject"
17 [ -z "$BBB_PROJECT_NAME" ] && BBB_PROJECT_NAME=$BBB_DEFAULT_PROJECT_NAME 17 [ -z "$BBB_PROJECT_NAME" ] && BBB_PROJECT_NAME=$BBB_DEFAULT_PROJECT_NAME
18 18
19 function usage 19 usage()
20 { 20 {
21 THIS_SCRIPT=`basename "$0"` 21 THIS_SCRIPT=`basename "$0"`
22 echo "Usage: $THIS_SCRIPT [-c command-line-args] [-nbfF] <directory-with-source-files>" 22 echo "Usage: $THIS_SCRIPT [-c command-line-args] [-nbfF] <directory-with-source-files>"
23 echo " 23 echo "
24 This script copies a directory of source files to the BeagleBone, compiles 24 This script copies a directory of source files to the BeagleBone, compiles