Fixed obtaining the PREFIX value from the command line

This commit is contained in:
Pierre Pronchery 2014-03-03 01:33:56 +01:00
parent a41ee14c0a
commit 15f236b680
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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