Allow variables to be overridden
This commit is contained in:
parent
7867e0ebce
commit
c8fe996aae
@ -96,11 +96,14 @@ _usage()
|
|||||||
|
|
||||||
#main
|
#main
|
||||||
clean=0
|
clean=0
|
||||||
while getopts "cP:" name; do
|
while getopts "cO:P:" name; do
|
||||||
case "$name" in
|
case "$name" in
|
||||||
c)
|
c)
|
||||||
clean=1
|
clean=1
|
||||||
;;
|
;;
|
||||||
|
O)
|
||||||
|
export "${OPTARG%%=*}"="${OPTARG#*=}"
|
||||||
|
;;
|
||||||
P)
|
P)
|
||||||
#XXX ignored
|
#XXX ignored
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user