Allow variables to be changed at run-time
This commit is contained in:
parent
16afd5f23b
commit
b99c00b1d1
|
@ -24,11 +24,14 @@ XSLTPROC="xsltproc --nonet"
|
|||
#functions
|
||||
#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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user