Fixed --prefix and --sep regexes

Fixes: #1
This commit is contained in:
Ulrich Petri 2011-12-28 17:06:34 +01:00
parent d99147db7a
commit 5fc395c2bb

View File

@ -256,7 +256,7 @@ do
while test "${#opt_prefix}" -gt '0'
do
case $opt_prefix in
([![:alnum:]_-.:\ ]*)
([![:alnum:]_.:\ -]*)
print_log error "The $1 parameter must be alphanumeric."
exit 130
;;
@ -278,7 +278,7 @@ do
;;
(--sep)
case "$2" in
([[:alnum:]_-.:\ ])
([[:alnum:]_.:\ -])
:
;;
('')