summaryrefslogtreecommitdiff
path: root/Makefile.bundle.in
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2018-04-12 20:59:03 +0200
committerfrosch <github@elsenhans.name>2018-04-12 22:26:45 +0200
commit192770e6dafd90efe317fe409c16b5c52e264d22 (patch)
tree30ef313a9d6ff03af07996d5076ddaad66566205 /Makefile.bundle.in
parente0a62a9e55d7392d34fc1cea4c6aada49b720e98 (diff)
downloadopenttd-192770e6dafd90efe317fe409c16b5c52e264d22.tar.xz
Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'.
Diffstat (limited to 'Makefile.bundle.in')
-rw-r--r--Makefile.bundle.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.bundle.in b/Makefile.bundle.in
index 4366cf10a..0565d0dc9 100644
--- a/Makefile.bundle.in
+++ b/Makefile.bundle.in
@@ -12,15 +12,15 @@
# The revision is needed for the bundle name and creating an OSX application bundle.
# Detect the revision
VERSIONS := $(shell AWK="$(AWK)" "$(ROOT_DIR)/findversion.sh")
-REV := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
+VERSION := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
-# Make sure we have something in REV
-ifeq ($(REV),)
-REV := norev000
+# Make sure we have something in VERSION
+ifeq ($(VERSION),)
+VERSION := norev000
endif
ifndef BUNDLE_NAME
-BUNDLE_NAME = openttd-custom-$(REV)-$(OS)
+BUNDLE_NAME = openttd-custom-$(VERSION)-$(OS)
endif
# An OSX application bundle needs the data files, lang files and openttd executable in a different location.