Fixed parsing arguments (using $OPTARG)

This commit is contained in:
Pierre Pronchery 2012-10-17 10:37:57 +00:00
parent dc86acbff0
commit b74edd9592

View File

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