Skip to content

Commit e561a99

Browse files
committed
Quoted a usage of $ARG_DEBUG to prevent an error when its undefined
1 parent cdaf610 commit e561a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

argument-parser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ for argChunk in "$@"; do
3232
# Get the chunk or arguments
3333
chainedChunk="${BASH_REMATCH[1]}";
3434

35-
[ $ARG_DEBUG == true ] && echo "Expanding chained argument chunk: $chainedChunk"
35+
[ "$ARG_DEBUG" == true ] && echo "Expanding chained argument chunk: $chainedChunk"
3636

3737
i=0
3838
# Expand out the chunk into individual arguments

0 commit comments

Comments
 (0)