Allow variables to be overridden

This commit is contained in:
Pierre Pronchery 2018-06-03 22:08:10 +02:00
parent 7867e0ebce
commit c8fe996aae

View File

@ -96,11 +96,14 @@ _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)
#XXX ignored
;;