diff options
author | djura-san <office@lab21.net> | 2013-12-24 15:05:27 +0100 |
---|---|---|
committer | djura-san <office@lab21.net> | 2013-12-24 15:12:58 +0100 |
commit | 4bf7871d79b0b149b56641501f99a3d5b8601a24 (patch) | |
tree | 748d769dcbe355393d284e10fc8cd8ea32214d5d | |
parent | 5e14442cc78ea730829c8ede9e12bf1c66ab47f4 (diff) |
added check for "diff" since that tool is not part of the core utils therefore it may not be present on all machines
-rwxr-xr-x | bb.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -178,6 +178,7 @@ global_variables() { # Test if the markdown script is working correctly test_markdown() { [[ -z "$markdown_bin" ]] && return 1 + [[ -z "$(which diff)" ]] && return 1 in="/tmp/md-in-$(echo $RANDOM).md" out="/tmp/md-out-$(echo $RANDOM).html" |