Commit 7644ea35 authored by ALO's avatar ALO

Allow generation in the current dir without extra paramater of an md file in an other directory

parent a2cb8dcc
......@@ -9,7 +9,7 @@ USAGE="usage: $0 mdFilePath [outDirectory]"
[[ -z ${1} ]] && echo ${USAGE} >&2 && exit 1
MD_FILE=${1}
OUT_DIR_OPTION=""
OUT_DIR_OPTION="-o $PWD"
[[ -n ${2} ]] && OUT_DIR_OPTION="-o ${2}"
gimli -f ${MD_FILE} -s ${MARKDOWN_PROJECT_PATH}/style.css -w '-t ' ${OUT_DIR_OPTION}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment