главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
authorCarlos Fenollosa <carlos.fenollosa@gmail.com>2017-01-03 17:11:04 +0100
committerGitHub <noreply@github.com>2017-01-03 17:11:04 +0100
commit89780c3108bddac6582498ce86e4d344465a4e3a (patch)
tree8f6c301cf6ef60dd9df262b0828f01450230d46e /bb.sh
parent025cf7922c3c53669e54aa8481c506e3529ba04a (diff)
parentc9a297c9b1138bd0fe029d45f0929c5c401babe0 (diff)
Merge pull request #124 from thalios1973/feat/pandoc-test-fix
feat/pandoc-test-fix
Diffstat (limited to 'bb.sh')
-rwxr-xr-xbb.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bb.sh b/bb.sh
index 03eeded..69875d4 100755
--- a/bb.sh
+++ b/bb.sh
@@ -174,7 +174,10 @@ global_variables_check() {
# Test if the markdown script is working correctly
test_markdown() {
[[ -n $markdown_bin ]] &&
- [[ $("$markdown_bin" <<< $'line 1\n\nline 2') == $'<p>line 1</p>\n\n<p>line 2</p>' ]]
+ (
+ [[ $("$markdown_bin" <<< $'line 1\n\nline 2') == $'<p>line 1</p>\n\n<p>line 2</p>' ]] ||
+ [[ $("$markdown_bin" <<< $'line 1\n\nline 2') == $'<p>line 1</p>\n<p>line 2</p>' ]]
+ )
}