From 704d6a03091c4cabf617426e5ece51415dcf6b47 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 11 Feb 2017 21:49:22 +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 f70da15024..3b595b4c0b 100644 --- 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