Added -o option for output directory override
parent
0f5561e893
commit
d117372ea9
|
@ -98,6 +98,14 @@ while getopts t:d:c:e:l:f:o:C:ER:T: opt; do
|
||||||
e) html_ext="$OPTARG";;
|
e) html_ext="$OPTARG";;
|
||||||
l) license="$OPTARG";;
|
l) license="$OPTARG";;
|
||||||
f) msgfmt="$OPTARG";;
|
f) msgfmt="$OPTARG";;
|
||||||
|
o)
|
||||||
|
# recognize both absolute and relative paths
|
||||||
|
if [ "${OPTARG:0:1}" == / ]; then
|
||||||
|
path_out="$OPTARG"
|
||||||
|
else
|
||||||
|
path_out="$path_out/$OPTARG"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
C) html_external_css="$OPTARG";;
|
C) html_external_css="$OPTARG";;
|
||||||
E) html_ext=;;
|
E) html_ext=;;
|
||||||
R) rss_count="$OPTARG";;
|
R) rss_count="$OPTARG";;
|
||||||
|
|
Loading…
Reference in New Issue