diff options
Diffstat (limited to 'bb.sh')
-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 |