Skip to content

Commit 08c177e

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 57edbdb commit 08c177e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/nightly/create_tarball.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13-
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
13+
# Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved.
1414
# $COPYRIGHT$
1515
#
1616
# Additional copyrights may follow
@@ -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)