summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2008-10-06 17:05:44 +0000
committerskidd13 <skidd13@openttd.org>2008-10-06 17:05:44 +0000
commit5b8af7db3b550ccae9088fd80f0303d67e36a7a9 (patch)
tree07f0edd93d1e253f3b809e0e55342acd3f0d9d7b /Makefile.src.in
parent13587560713762f461589f5e91e66cd0aaf8d364 (diff)
downloadopenttd-5b8af7db3b550ccae9088fd80f0303d67e36a7a9.tar.xz
(svn r14443) -Change: Unify the delimiters used in config* and make*
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index e93d064b7..e8d330183 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -96,7 +96,7 @@ MODIFIED := $(shell echo "$(VERSIONS)" | cut -f 3 -d' ')
ifdef REVISION
# Use specified revision (which should be of the form "r000").
REV := $(REVISION)
-REV_NR := $(shell echo $(REVISION) | sed "s/[^0-9]//g")
+REV_NR := $(shell echo $(REVISION) | sed "s#[^0-9]##g")
else
# Use autodetected revisions
REV := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
@@ -180,7 +180,7 @@ endif
# Convert x:/... paths to /x/... for mingw
ifeq ($(OS), MINGW)
- @cat Makefile.dep.tmp | sed 's@\([a-zA-Z]\):\/@\/\1\/@g' > Makefile.dep.tmp.mingw
+ @cat Makefile.dep.tmp | sed 's#\([a-zA-Z]\):\/#\/\1\/#g' > Makefile.dep.tmp.mingw
@cp Makefile.dep.tmp.mingw Makefile.dep.tmp
@rm -f Makefile.dep.tmp.mingw
endif
@@ -209,7 +209,7 @@ endif
{ \
print $$0 \
} \
- ' < Makefile.dep.tmp | sed 's/ */ /g;s/ $$//' | $(SORT) > Makefile.dep
+ ' < Makefile.dep.tmp | sed 's# *# #g;s# $$##' | $(SORT) > Makefile.dep
$(Q)rm -f Makefile.dep.tmp Makefile.dep.tmp.bak