Let the default value for variables be overriden
This commit is contained in:
parent
c290d9266e
commit
3e495db844
@ -66,7 +66,7 @@ _usage()
|
||||
clean=0
|
||||
install=0
|
||||
uninstall=0
|
||||
while getopts "ciuP:" name; do
|
||||
while getopts "ciuO:P:" name; do
|
||||
case $name in
|
||||
c)
|
||||
clean=1
|
||||
@ -79,6 +79,9 @@ while getopts "ciuP:" name; do
|
||||
install=0
|
||||
uninstall=1
|
||||
;;
|
||||
O)
|
||||
export "${OPTARG%%=*}"="${OPTARG#*=}"
|
||||
;;
|
||||
P)
|
||||
PREFIX="$OPTARG"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user