Shell script code in Makefiles is now POSIX compliant and is able to be run on dash.

This commit is contained in:
Scott Ehlert 2008-12-07 23:49:13 -06:00
parent 7a8572cddd
commit c229ac6a4c
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ all: check
$(MAKE) -f Makefile metamod $(MAKE) -f Makefile metamod
check: check:
if [ "$(ENGSET)" == "false" ]; then \ if [ "$(ENGSET)" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox"; \ echo "You must supply ENGINE=left4dead or ENGINE=orangebox"; \
exit 1; \ exit 1; \
fi fi

View File

@ -103,7 +103,7 @@ all: check
$(MAKE) -f Makefile sample_mm $(MAKE) -f Makefile sample_mm
check: check:
if [ "$(ENGSET)" == "false" ]; then \ if [ "$(ENGSET)" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \ echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
exit 1; \ exit 1; \
fi fi

View File

@ -103,7 +103,7 @@ all: check
$(MAKE) -f Makefile stub_mm $(MAKE) -f Makefile stub_mm
check: check:
if [ "$(ENGSET)" == "false" ]; then \ if [ "$(ENGSET)" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \ echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
exit 1; \ exit 1; \
fi fi