cpt

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

commit 1f1124c251194d87f32d15d1273b1e7bfcfb9614
parent 46b4a99c87f9a73199f035e7b955b63906efa143
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue,  1 Oct 2019 22:58:19 +0300

kiss: fix lint

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

diff --git a/kiss b/kiss @@ -862,10 +862,9 @@ args() { # This handles the globbing characters '*', '!', '[' and ']' as per: # https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html [ "$action" != search ] && [ "$action" != s ] && - case $* in + case $@ in *'*'*|*'!'*|*'['*|*']'*) - log kiss "$action $*" - die "Arguments contain invalid characters" + die "Arguments contain invalid characters: '!*[]'" ;; esac