diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 15:32:58 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 15:32:58 +0200 |
commit | 5e70713e85511382b978a8e14159b67811db8364 (patch) | |
tree | 91ab536b3b1088ea416942a97420ab8387b9a76c /bb.sh | |
parent | 349ed8e3a7de19ba5d68613897e85abd68a626e1 (diff) |
support Markdown.pl in bashblog folder. Close #113
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ global_variables() { # Markdown location. Trying to autodetect by default. # The invocation must support the signature 'markdown_bin in.md > out.html' - markdown_bin=$(which Markdown.pl || which markdown) + [[ -f Markdown.pl ]] && markdown_bin=./Markdown.pl || markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null) } # Check for the validity of some variables |