Let internal variables be overridden

This commit is contained in:
Pierre Pronchery 2017-09-13 14:18:13 +02:00
parent d86cdee3f3
commit ee0a4e535c

View File

@ -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