spaces in -f argument are not longer removed, it causes problem with file names including spaces

This commit is contained in:
Mattias Andrée 2012-07-26 03:40:30 +02:00
parent 61c38c65f4
commit f8591ed576

View file

@ -224,7 +224,7 @@ while getopts $opts OPT; do
case ${OPT} in case ${OPT} in
v) version; exit ;; v) version; exit ;;
h) usage; exit ;; h) usage; exit ;;
f) ponies+=($(echo $OPTARG | sed -e 's/ //g')) ;; f) ponies+=( $OPTARG ) ;;
l) list; exit ;; l) list; exit ;;
L) linklist; exit ;; L) linklist; exit ;;
W) wrap="$OPTARG" ;; W) wrap="$OPTARG" ;;