Changeset - r10091:1b45da6e3444
[Not reviewed]
master
0 2 0
matthijs - 16 years ago 2008-09-08 06:27:08
matthijs@openttd.org
(svn r14272) -Fix [Makefile]: Always pass an explicit delimiter to the "cut" command, in
case there are platforms where tab is not the default.
2 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
Makefile.bundle.in
Show inline comments
 
@@ -8,7 +8,7 @@ REV := $(REVISION)
 
else
 
# Detect the revision
 
VERSIONS := $(shell AWK="$(AWK)" "$(ROOT_DIR)/findversion.sh")
 
REV      := $(shell echo "$(VERSIONS)" | cut -f 1)
 
REV      := $(shell echo "$(VERSIONS)" | cut -f 1 -d'	')
 
endif
 

	
 
# Make sure we have something in REV
Makefile.src.in
Show inline comments
 
@@ -91,7 +91,7 @@ all: $(BIN_DIR)/$(TTD)
 
# Always run version detection, so we always have an accurate modified
 
# flag
 
VERSIONS := $(shell AWK="$(AWK)" "$(ROOT_DIR)/findversion.sh")
 
MODIFIED := $(shell echo "$(VERSIONS)" | cut -f 3)
 
MODIFIED := $(shell echo "$(VERSIONS)" | cut -f 3 -d'	')
 

	
 
ifdef REVISION
 
# Use specified revision (which should be of the form "r000").
 
@@ -99,8 +99,8 @@ REV := $(REVISION)
 
REV_NR := $(shell echo $(REVISION) | sed "s/[^0-9]//g")
 
else
 
# Use autodetected revisions
 
REV      := $(shell echo "$(VERSIONS)" | cut -f 1)
 
REV_NR   := $(shell echo "$(VERSIONS)" | cut -f 2)
 
REV      := $(shell echo "$(VERSIONS)" | cut -f 1 -d'	')
 
REV_NR   := $(shell echo "$(VERSIONS)" | cut -f 2 -d'	')
 
endif
 

	
 
# Make sure we have something in REV and REV_NR
0 comments (0 inline, 0 general)