summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-01-16 09:32:40 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-01-16 09:32:40 +0100
commitb02735df384e0bc3549da5bee669eb1a16a23dc2 (patch)
treeb9806b46973d7ba81942ce8ba883e1bb2fce99f3 /Makefile
parent8ecfc19a5fff07065d893145b55921752754a708 (diff)
exit -1 in bash is, in fact, not allowed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e3f8898..ad152a1 100644
--- a/Makefile
+++ b/Makefile
@@ -197,15 +197,15 @@ all: dep lib
tests: $(TESTS)
ifneq ($(CROSSCOMPILE),true)
- $(foreach b, $(TESTS), ./$(b) && ) exit 0 || exit -1
+ $(foreach b, $(TESTS), ./$(b) && ) exit 0 || exit 1
else
ifeq ($(SYSTEM),MINGW32)
- $(foreach b, $(TESTS), wine ./$(b) && ) exit 0 || exit -1
+ $(foreach b, $(TESTS), wine ./$(b) && ) exit 0 || exit 1
endif
endif
strip: $(TESTS)
- $(foreach b, $(TESTS), $(STRIP) ./$(b) && ) exit 0 || exit -1
+ $(foreach b, $(TESTS), $(STRIP) ./$(b) && ) exit 0 || exit 1
lib: $(LIB)