Merge pull request #2 from ulope/master

Fixed --prefix and --sep regexes
This commit is contained in:
Darik Horn 2011-12-28 10:06:04 -08:00
commit b5bf1149ca

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:]_.:\ -])
:
;;
('')