Allow variables to be changed at run-time

This commit is contained in:
Pierre Pronchery 2017-12-28 02:43:59 +01:00
parent 16afd5f23b
commit b99c00b1d1

View File

@ -24,11 +24,14 @@ XSLTPROC="xsltproc --nonet"
#functions #functions
#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
;; ;;