From 8079a2e9a53932eb9a16b9d4b5de16c9a588163d Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 2 Oct 2018 21:21:58 +0200 Subject: [PATCH] Update bootstrap --- dev/bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev/bootstrap.sh b/dev/bootstrap.sh index bb663c7..54773af 100755 --- a/dev/bootstrap.sh +++ b/dev/bootstrap.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -## dev pre-processor bootstrap rev 2018032201 +## dev pre-processor bootstrap rev 2018100201 ## Yeah !!! A really tech sounding name... In fact it's just include emulation in bash function Usage { @@ -8,8 +8,8 @@ function Usage { echo "Creates and executes $0.tmp.sh" echo "Usage:" echo "" - echo "$0 --program=osync|osync_target_helper|obackup|pmocr [options to pass to program]" - echo "Can also be run with BASHVERBOSE=YES environment variable in order to prefix program with bash -x" + echo "$0 --program=osync|obackup|pmocr [options to pass to program]" + echo "Can also be run with BASHVERBOSE=yes environment variable in order to prefix program with bash -x" } @@ -44,7 +44,7 @@ else __PREPROCESSOR_Constants if [ ! -f "$__PREPROCESSOR_PROGRAM_EXEC" ]; then - echo "Cannot find file [n_$bootstrapProgram.sh]." + echo "Cannot find file $__PREPROCESSOR_PROGRAM executable [n_$bootstrapProgram.sh]." exit 1 fi fi @@ -68,7 +68,7 @@ if type termux-fix-shebang > /dev/null 2>&1; then termux-fix-shebang "$outputFileName.tmp.sh" fi -if [ "$BASH_VERBOSE" == "yes" ]; then +if [ "$BASHVERBOSE" == "yes" ]; then bash -x "$outputFileName.tmp.sh" $opts else "$outputFileName.tmp.sh" $opts