From c229ac6a4c7c77afe73b8d7db0e4ed112bfb1a80 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sun, 7 Dec 2008 23:49:13 -0600 Subject: [PATCH 1/2] Shell script code in Makefiles is now POSIX compliant and is able to be run on dash. --- core/Makefile | 2 +- sample_mm/Makefile | 2 +- stub_mm/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/Makefile b/core/Makefile index 8c1489b..c227d80 100644 --- a/core/Makefile +++ b/core/Makefile @@ -102,7 +102,7 @@ all: check $(MAKE) -f Makefile metamod check: - if [ "$(ENGSET)" == "false" ]; then \ + if [ "$(ENGSET)" = "false" ]; then \ echo "You must supply ENGINE=left4dead or ENGINE=orangebox"; \ exit 1; \ fi diff --git a/sample_mm/Makefile b/sample_mm/Makefile index eaf78e7..f02b083 100755 --- a/sample_mm/Makefile +++ b/sample_mm/Makefile @@ -103,7 +103,7 @@ all: check $(MAKE) -f Makefile sample_mm check: - if [ "$(ENGSET)" == "false" ]; then \ + if [ "$(ENGSET)" = "false" ]; then \ echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \ exit 1; \ fi diff --git a/stub_mm/Makefile b/stub_mm/Makefile index 733a940..245ca33 100644 --- a/stub_mm/Makefile +++ b/stub_mm/Makefile @@ -103,7 +103,7 @@ all: check $(MAKE) -f Makefile stub_mm check: - if [ "$(ENGSET)" == "false" ]; then \ + if [ "$(ENGSET)" = "false" ]; then \ echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \ exit 1; \ fi From fde79ae26db3c23c8cd8329dbc58f50bdc7fcffb Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sun, 7 Dec 2008 23:50:23 -0600 Subject: [PATCH 2/2] Added .hgignore so that 'hg status' can ignore untracked files of certain types. --- .hgignore | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .hgignore diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000..9c00b47 --- /dev/null +++ b/.hgignore @@ -0,0 +1,14 @@ +# Binaries +\.dll$ +\.exe$ +\.so$ + +# Files generated by Visual Studio +\.aps$ +\.ncb$ +\.suo$ +\.user$ + +# Build directories +/Debug.* +/Release.*