Fix missing [[ on travis

This commit is contained in:
Matthias Beyer 2016-10-08 00:34:38 +02:00
parent 7611ad2892
commit a9deb488b3

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;