Skip to content

Commit 7dbd101

Browse files
committed
fix: closes #210
1 parent 22aa0ab commit 7dbd101

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

blueprint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,5 +475,12 @@ case "$cmd" in
475475
esac
476476

477477
shift 2
478+
479+
# prevent interesting freakout when passing "*" as an argument
480+
if [[ $* == *"*"* ]]; then
481+
PRINT FATAL "\"*\" cannot be used as an argument."
482+
exit 2
483+
fi
484+
478485
Command "$@"
479486
exit 0

0 commit comments

Comments
 (0)