Fixed parsing arguments (using $OPTARG)

This commit is contained in:
Pierre Pronchery 2012-10-17 10:37:57 +00:00
parent 13748338b4
commit efe9b9e2eb

View File

@ -67,7 +67,7 @@ while getopts iuP: name; do
uninstall=1 uninstall=1
;; ;;
P) P)
PREFIX="$2" PREFIX="$OPTARG"
;; ;;
?) ?)
_usage _usage