Corrected message formatter configuration path
parent
11236d4c27
commit
21aec4fb13
|
@ -103,7 +103,7 @@ while getopts t:d:c:e:l:f:i:o:C:ER:T: opt; do
|
||||||
c) copyright="$OPTARG";;
|
c) copyright="$OPTARG";;
|
||||||
e) html_ext="$OPTARG";;
|
e) html_ext="$OPTARG";;
|
||||||
l) license="$OPTARG";;
|
l) license="$OPTARG";;
|
||||||
f) msgfmt="$OPTARG";;
|
f) msgfmt="$path_root/$OPTARG";;
|
||||||
i)
|
i)
|
||||||
do_raw=1
|
do_raw=1
|
||||||
raw_tpl="$OPTARG"
|
raw_tpl="$OPTARG"
|
||||||
|
@ -138,7 +138,8 @@ copyright="${copyright:-$( cwarn copyright 'Respective Authors' )}"
|
||||||
license="${license:-$( cwarn license )}"
|
license="${license:-$( cwarn license )}"
|
||||||
|
|
||||||
# provide default message formatter if necessary
|
# provide default message formatter if necessary
|
||||||
msgfmt="${msgfmt:-./msgfmt}"
|
export msgfmt_default=./msgfmt
|
||||||
|
msgfmt="${msgfmt:-$default}"
|
||||||
|
|
||||||
# make configuration available to all scripts
|
# make configuration available to all scripts
|
||||||
export title desc copyright license msgfmt url_root path_tpl path path_root \
|
export title desc copyright license msgfmt url_root path_tpl path path_root \
|
||||||
|
|
Loading…
Reference in New Issue