diff --git a/tools/xsltproc.sh b/tools/xsltproc.sh index d34ec7b..edee324 100755 --- a/tools/xsltproc.sh +++ b/tools/xsltproc.sh @@ -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 ;;