Merge pull request #19 from djura-san/upstream

added check for "diff"
This commit is contained in:
Carlos Fenollosa 2013-12-27 14:32:59 -08:00
commit 15d2393031

1
bb.sh
View File

@ -178,6 +178,7 @@ global_variables() {
# Test if the markdown script is working correctly # Test if the markdown script is working correctly
test_markdown() { test_markdown() {
[[ -z "$markdown_bin" ]] && return 1 [[ -z "$markdown_bin" ]] && return 1
[[ -z "$(which diff)" ]] && return 1
in="/tmp/md-in-$(echo $RANDOM).md" in="/tmp/md-in-$(echo $RANDOM).md"
out="/tmp/md-out-$(echo $RANDOM).html" out="/tmp/md-out-$(echo $RANDOM).html"