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