diff options
author | Michael Prokop <mika@debian.org> | 2010-06-08 11:10:01 +0200 |
---|---|---|
committer | Michael Prokop <mika@debian.org> | 2010-06-08 11:10:01 +0200 |
commit | 90d76d566f7597d9826606b8b5cec62b50c44096 (patch) | |
tree | 3b65f8fc9ac3cbc6c85c3f1c05093c2c8e815d8c /scripts | |
parent | b1c242ffc5762fea6c15fe880e352008a5c34c43 (diff) | |
download | initramfs-tools-90d76d566f7597d9826606b8b5cec62b50c44096.tar.gz initramfs-tools-90d76d566f7597d9826606b8b5cec62b50c44096.zip |
Support dashes inside scripts names.
[Closes: #566056]
Signed-off-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index 1cc9be6..8730d52 100644 --- a/scripts/functions +++ b/scripts/functions @@ -74,7 +74,7 @@ set_initlist() # only allow variable name chars case ${si_x#${initdir}/} in - *[![:alnum:]_.]*) + *[![:alnum:]\._-]*) [ "${verbose}" = "y" ] \ && echo "$si_x ignored: not alphanumeric or '_' file" continue @@ -106,7 +106,7 @@ reduce_satisfied() for rs_y in ${deplist}; do # only allow variable name chars case ${rs_y} in - *[![:alnum:]_.]*) + *[![:alnum:]\._-]*) continue ;; esac |