Fixed parsing arguments (using $OPTARG)
This commit is contained in:
parent
428b8fd03a
commit
7d2b3130fa
@ -67,7 +67,7 @@ while getopts iuP: name; do
|
||||
uninstall=1
|
||||
;;
|
||||
P)
|
||||
PREFIX="$2"
|
||||
PREFIX="$OPTARG"
|
||||
;;
|
||||
?)
|
||||
_usage
|
||||
|
Loading…
Reference in New Issue
Block a user