summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index 00fcf3d..0b8d1e8 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -87,7 +87,7 @@ set_initlist()
for si_x in ${initdir}/*; do
# only allow variable name chars
case ${si_x#${initdir}/} in
- *[!A-Za-z0-9_]*)
+ *[![:alnum:]_]*)
continue
;;
esac
@@ -110,7 +110,7 @@ reduce_satisfied()
for rs_y in ${deplist}; do
# only allow variable name chars
case ${rs_y} in
- *[!A-Za-z0-9_]*)
+ *[![:alnum:]_]*)
continue
;;
esac