Skip to content

Commit 704d6a0

Browse files
committed
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 <[email protected]>
1 parent a8247a7 commit 704d6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/nightly/create_tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ gitbranch=$5
3434

3535
# Set this to any value for additional output; typically only when
3636
# debugging
37-
debug=1
37+
: ${debug:=}
3838

3939
# do you want a success mail?
4040
want_success_mail=1

0 commit comments

Comments
 (0)