From bf103fa594d97413ac0f22e8e44a36e0371c414e Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 11 Feb 2017 21:53:27 +0000 Subject: [PATCH] create_tarball: read $debug from environment If $debug is set in the environment, use that. This allows enabling debug mode without requiring an edit to the script. Signed-off-by: Jeff Squyres --- contrib/nightly/create_tarball.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nightly/create_tarball.sh b/contrib/nightly/create_tarball.sh index 73657d13c57..b29fe564755 100755 --- a/contrib/nightly/create_tarball.sh +++ b/contrib/nightly/create_tarball.sh @@ -34,7 +34,7 @@ gitbranch=$5 # Set this to any value for additional output; typically only when # debugging -debug=1 +: ${debug:=} # do you want a success mail? want_success_mail=1