diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 11:39:29 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 11:39:29 +0200 |
commit | 36d79b5cdd01f145bb8fc523f04f7e3d312e524d (patch) | |
tree | 52e452ae688e10a5edae0c2ec5646d69bd75418f | |
parent | 7154c0746b8e551eeda4ff6837a234436c904f66 (diff) |
support Markdown.pl in bashblog folder. Close #113
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,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 2>/dev/null || which markdown 2>/dev/null) + [[ -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 |