From e7d87ccf692259f32c29c366fa505e870ad2cd2d Mon Sep 17 00:00:00 2001 From: Loki <59907407+Loki-101@users.noreply.github.com> Date: Tue, 12 May 2026 14:00:45 -0700 Subject: [PATCH] Fixes https://github.com/BlueprintFramework/framework/issues/213 The check evaluates each argument individually now, rather than "is * in any argument anywhere" --- blueprint.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/blueprint.sh b/blueprint.sh index 1664d0ac..fc113ac0 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -477,10 +477,12 @@ esac shift 2 # prevent interesting freakout when passing "*" as an argument -if [[ $* == *"*"* ]]; then - PRINT FATAL "\"*\" cannot be used as an argument." - exit 2 -fi +for arg in "$@"; do + if [[ "$arg" == "*" ]]; then + PRINT FATAL "\"*\" cannot be used as an argument." + exit 2 + fi +done Command "$@" exit 0