From 494fcda09866c5ccd001b8d3f750c55c8a0fb6b1 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 25 Jun 2018 14:49:15 +0200 Subject: [PATCH] Fixed BASHVERBOSE variable --- dev/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/bootstrap.sh b/dev/bootstrap.sh index bb663c7..2cd4e80 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 2018062501 ## Yeah !!! A really tech sounding name... In fact it's just include emulation in bash function Usage { @@ -9,7 +9,7 @@ function Usage { 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 "Can also be run with BASHVERBOSE=yes environment variable in order to prefix program with bash -x" } @@ -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