Browse Source

fixup! fix: improve initial variable defaults

Kyle P Davis 4 months ago
parent
commit
c13026d8db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gimme

+ 1 - 1
gimme

@@ -168,7 +168,7 @@ else # normal usage
 
 	export -f has gimme_pkg
 
-	[[ "$INIT_GIMMES" ]] || export INIT_GIMMES="$@"
+	export INIT_GIMMES=${INIT_GIMMES:="$@"}
 
 	DID_GIMME=
 	for GIMME; do