mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 10:28:30 +00:00
Shell script code in Makefiles is now POSIX compliant and is able to be run on dash.
This commit is contained in:
parent
7a8572cddd
commit
c229ac6a4c
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user