From: Paul Hänsch Date: Sun, 12 Sep 2021 23:39:56 +0000 (+0200) Subject: Squashed 'cgilite/' changes from 2218e82..9884092 X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=efaa2a8db2857d130e598104aea0fdbab398f714;p=serve0 Squashed 'cgilite/' changes from 2218e82..9884092 9884092 typo in cli parsing git-subtree-dir: cgilite git-subtree-split: 988409298c9635afb1c6751f3fe15981b5d94ae3 --- diff --git a/cgilite.sh b/cgilite.sh index 6a4a648..a2aa329 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -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=" "