summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2007-04-16 20:33:52 +0200
committermaximilian attems <maks@debian.org>2007-04-16 20:33:52 +0200
commit2b382bf18e47765e9f3bb1963008f8ee1a46cf97 (patch)
treeb6c1bbc0f3f02be8e73e0317260377479ae00a51 /scripts/functions
parentadda784dc1289b3ceb0ce207850ef9a93102febe (diff)
fix regexes to always use posix char classes and release 0.87
needs the -regextype posix-extended switch for find, also it seems 0.86 disgarded uselessly uppercase scripts (they might be distasteful ;)
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