Bug fix: default ontology was always included, if if not needed or even conflicting.
This commit is contained in:
parent
727b53edb6
commit
97db02c61d
|
@ -77,7 +77,7 @@ DEFAULT_TEMPLATE="scrartcl"
|
||||||
DEFAULT_ONTOLOGY="scholarly_paper"
|
DEFAULT_ONTOLOGY="scholarly_paper"
|
||||||
|
|
||||||
TEMPLATE="$DEFAULT_TEMPLATE"
|
TEMPLATE="$DEFAULT_TEMPLATE"
|
||||||
ONTOLOGY="$DEFAULT_ONTOLOGY"
|
ONTOLOGY=""
|
||||||
|
|
||||||
while getopts "t:o:n:dh" OPT
|
while getopts "t:o:n:dh" OPT
|
||||||
do
|
do
|
||||||
|
@ -112,6 +112,7 @@ done
|
||||||
|
|
||||||
shift $(($OPTIND - 1))
|
shift $(($OPTIND - 1))
|
||||||
|
|
||||||
|
ONTOLOGY="${ONTOLOGY:-$DEFAULT_ONTOLOGY}"
|
||||||
|
|
||||||
# args
|
# args
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue