summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-09 19:41:49 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-09 20:01:20 +0100
commit0151fe998a999b48b67afa5b96d9a4cd72246455 (patch)
tree8199b20177f18a72f40f1a9c5c676a4c5629d28a
parent887e524e066cee3dc3307abcbccdf01fa7fb1d25 (diff)
downloadopenttd-0151fe998a999b48b67afa5b96d9a4cd72246455.tar.xz
Fix 5f8354f3: Non-Windows builds did not get correct git hash
Effect is that gamelog and network revisions indicate a git revision of 0, potentially causing issues.
-rw-r--r--Makefile.src.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 9cf3557c5..94534fd60 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -90,7 +90,7 @@ MODIFIED := $(shell echo "$(VERSIONS)" | cut -f 3 -d' ')
# Use autodetected revisions
VERSION := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
ISODATE := $(shell echo "$(VERSIONS)" | cut -f 2 -d' ')
-GITHASH := $(shell echo "$(VERSIONS)" | cut -f 3 -d' ')
+GITHASH := $(shell echo "$(VERSIONS)" | cut -f 4 -d' ')
# Make sure we have something in VERSION and ISODATE
ifeq ($(VERSION),)