Let internal variables be overridden
This commit is contained in:
parent
d86cdee3f3
commit
ee0a4e535c
@ -107,13 +107,16 @@ _usage()
|
||||
|
||||
#main
|
||||
clean=0
|
||||
while getopts "cP:" name; do
|
||||
while getopts "cO:P:" name; do
|
||||
case "$name" in
|
||||
c)
|
||||
clean=1
|
||||
;;
|
||||
O)
|
||||
export "${OPTARG%%=*}"="${OPTARG#*=}"
|
||||
;;
|
||||
P)
|
||||
#we can ignore it
|
||||
#ignored
|
||||
;;
|
||||
?)
|
||||
_usage
|
||||
|
Loading…
Reference in New Issue
Block a user