Fixed handling of arguments to the "-P" option

This commit is contained in:
Pierre Pronchery 2014-04-10 23:22:05 +02:00
parent 8c021e626b
commit 329759bb5f

View File

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