Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 1cad23e

Browse files
committed
Merge pull request #18 from ivanfoo/master
added default shell to makefile
2 parents 5e0030a + cebea5e commit 1cad23e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Default shell
2+
SHELL := /bin/bash
3+
14
# General
25
WORKDIR = $(PWD)
36

@@ -23,7 +26,7 @@ test-coverage:
2326
echo "" > $(COVERAGE_REPORT); \
2427
for dir in `find . -name "*.go" | grep -o '.*/' | sort | uniq`; do \
2528
$(GOTEST) $$dir -coverprofile=$(COVERAGE_PROFILE) -covermode=$(COVERAGE_MODE); \
26-
if (($$? != 0)); then \
29+
if [ $$? != 0 ]; then \
2730
exit 2; \
2831
fi; \
2932
if [ -f $(COVERAGE_PROFILE) ]; then \

0 commit comments

Comments
 (0)