mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: Fix search not allowing globs
This commit is contained in:
parent
4882084585
commit
89a927d3bb
2
kiss
2
kiss
@ -1189,7 +1189,7 @@ args() {
|
||||
#
|
||||
# This handles the globbing characters '*', '!', '[' and ']' as per:
|
||||
# https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
|
||||
[ "${action#[as]*}" ] &&
|
||||
[ "${action##[as]*}" ] &&
|
||||
case $@ in *'*'*|*'!'*|*'['*|*']'*)
|
||||
die "Arguments contain invalid characters: '!*[]'"
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user