1
0
Fork 0

Added -o option for output directory override

master
Mike Gerwitz 2013-05-21 22:38:32 -04:00
parent 0f5561e893
commit d117372ea9
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 8 additions and 0 deletions

View File

@ -98,6 +98,14 @@ while getopts t:d:c:e:l:f:o:C:ER:T: opt; do
e) html_ext="$OPTARG";;
l) license="$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";;
E) html_ext=;;
R) rss_count="$OPTARG";;