Skip to content

Commit 36d79b5

Browse files
committed
support Markdown.pl in bashblog folder. Close cfenollosa#113
1 parent 7154c07 commit 36d79b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ global_variables() {
160160

161161
# Markdown location. Trying to autodetect by default.
162162
# The invocation must support the signature 'markdown_bin in.md > out.html'
163-
markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null)
163+
[[ -f Markdown.pl ]] && markdown_bin=./Markdown.pl || markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null)
164164
}
165165

166166
# Check for the validity of some variables

0 commit comments

Comments
 (0)