]> git.plutz.net Git - cgilite/commitdiff
typo in cli parsing
authorPaul Hänsch <paul@plutz.net>
Sun, 12 Sep 2021 23:39:42 +0000 (01:39 +0200)
committerPaul Hänsch <paul@plutz.net>
Sun, 12 Sep 2021 23:39:42 +0000 (01:39 +0200)
cgilite.sh

index 6a4a64881faa4bc2836061399974e733bcdba010..a2aa32924bdc7ed30cc35fb053b416859a05f93c 100755 (executable)
@@ -44,9 +44,9 @@ for cgilite_arg in "$@"; do case $cgilite_arg in
 esac; done
 unset cgilite_arg
 
-_EXEC="${EXEC:-${0%/*}}"
-_DATA="${DATA:-.}"
-_EXEC="${_EXEC%/}" _DATA="${_DATA%/}" _BASE="${BASE%/}"
+_EXEC="${_EXEC:-${0%/*}}"
+_DATA="${_DATA:-.}"
+_EXEC="${_EXEC%/}" _DATA="${_DATA%/}" _BASE="${_BASE%/}"
 
 # Carriare Return and Line Break characters for convenience
 CR="\r"