cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 80459f11d1af2a7fb464e19253b1e1036868164f
parent 4c48d5e4de4b5d73919370b1e87fc2b32f876a02
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon, 25 May 2020 23:21:14 +0300

kiss: enable the usage of glob characters with kiss-bin

Diffstat:
Mkiss | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -1369,10 +1369,11 @@ args() { # # This handles the globbing characters '*', '!', '[' and ']' as per: # https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html - [ "${action##[as]*}" ] && + case "$action" in a|alternatives|s|search|bin) ;; *) case $* in *\**|*\!*|*\[*|*\]*) die "Arguments contain invalid characters: '!*[]'" esac + esac # Parse some arguments earlier to remove the need to duplicate code. case $action in