summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-10-21 20:14:15 +0000
committertruelight <truelight@openttd.org>2007-10-21 20:14:15 +0000
commit945ca0c6354a57a5c8a5c2c6cecc27c7d5fbb4b2 (patch)
treef0d98cee07c4e58936c54e5b2250012a160615cc
parentc66bbda3ec1f54ca8974cb571d001449cd03c9ac (diff)
downloadopenttd-945ca0c6354a57a5c8a5c2c6cecc27c7d5fbb4b2.tar.xz
(svn r11336) -Fix r11330: '#' means comment in gmake, so don't use it in seds
-rw-r--r--Makefile.src.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index eb57a0b8f..506f401fc 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -92,7 +92,7 @@ $(LANG_OBJS_DIR)/table/strings.h: $(LANG_DIR)/english.txt $(LANG_OBJS_DIR)/$(STR
# Make the revision number
ifdef REVISION
REV := $(REVISION)
-REV_NR := $(shell echo $(REVISION) | sed "s#[^0-9]##g")
+REV_NR := $(shell echo $(REVISION) | sed "s/[^0-9]//g")
else
# Are we a SVN dir?
ifeq ($(shell if test -d $(SRC_DIR)/.svn; then echo 1; fi), 1)