Merge pull request #788 from matthiasbeyer/fix-787

Fix missing [[ on travis
This commit is contained in:
Matthias Beyer 2016-10-08 01:33:23 +02:00 committed by GitHub
commit dd5928c1b5

View file

@ -74,7 +74,7 @@ $(TARGETS): %: .FORCE
$(BIN_TARGET_TESTS): %-test: % .FORCE $(BIN_TARGET_TESTS): %-test: % .FORCE
@$(ECHO) "\t[BINTEST]:\t$@" @$(ECHO) "\t[BINTEST]:\t$@"
if [[ -f $(subst -test,,$@)/tests/Makefile ]]; then \ if [ -f $(subst -test,,$@)/tests/Makefile ]; then \
$(MAKE) -C $(subst -test,,$@)/tests || exit 1;\ $(MAKE) -C $(subst -test,,$@)/tests || exit 1;\
fi; fi;