diff options
author | maximilian attems <maks@debian.org> | 2007-04-16 20:33:52 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2007-04-16 20:33:52 +0200 |
commit | 2b382bf18e47765e9f3bb1963008f8ee1a46cf97 (patch) | |
tree | b6c1bbc0f3f02be8e73e0317260377479ae00a51 /scripts/functions | |
parent | adda784dc1289b3ceb0ce207850ef9a93102febe (diff) | |
download | initramfs-tools-2b382bf18e47765e9f3bb1963008f8ee1a46cf97.tar.gz initramfs-tools-2b382bf18e47765e9f3bb1963008f8ee1a46cf97.zip |
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/functions | 4 |
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 |