Commit 9bdeb273 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

browser/Makefile: Force rule to be launched with bash

This is necessary as process substitution is not available in sh.
However the command is portable (tested under Bash on FreeBSD)
parent 4f16ff23
......@@ -12,9 +12,10 @@ functional: ../../doc/analysis-example1.vidjil
functional-rbx: ../../doc/analysis-example1.vidjil
LIVE_SERVER=http://app.vidjil.org/browser/ ruby test_browser.rb
phantomjs: SHELL:=/bin/bash
phantomjs:
cd QUnit ; \
[ `phantomjs phantom_test.js | tee >( cat >&2 ) | grep -c '^not ok'` -eq 0 ]
[ `phantomjs phantom_test.js | tee >(cat >&2) | grep -c '^not ok'` -eq 0 ]
../../doc/%:
$(MAKE) -C ../../doc $@
......
  • Fonctionne aussi chez moi, grâce à ce commit. Merci pour ce soucis de portabilité :-)

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment