Bug 1222740 - Stop build.mk from needing to access platform.ini. r=florian
authoraleth <aleth@instantbird.org>
Tue, 10 Nov 2015 14:43:22 +0100
changeset 18626 7b4727d6db45679bbc26de4fb8a2d679b2e57394
parent 18625 8d13bd3c9e2d82f09ad6acf7e7c80bff8576c12d
child 18627 7006132e6f68884d662b481a2fff26222ba98eba
push id11406
push useraleth@instantbird.org
push dateMon, 23 Nov 2015 12:05:24 +0000
treeherdercomm-central@7b4727d6db45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs1222740
Bug 1222740 - Stop build.mk from needing to access platform.ini. r=florian
im/build.mk
--- a/im/build.mk
+++ b/im/build.mk
@@ -5,20 +5,20 @@
 ifndef COMM_BUILD
 
 ifndef MOZILLA_DIR
 MOZILLA_DIR = $(topsrcdir)
 endif
 # included to get $(BUILDID), which needs $(MOZILLA_DIR)
 include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
 
-BUILD_YEAR := $(shell echo $(BUILDID) | cut -c 1-4)
-BUILD_MONTH := $(shell echo $(BUILDID) | cut -c 5-6)
-BUILD_DAY := $(shell echo $(BUILDID) | cut -c 7-8)
-BUILD_HOUR := $(shell echo $(BUILDID) | cut -c 9-10)
+BUILD_YEAR = $(shell echo $(BUILDID) | cut -c 1-4)
+BUILD_MONTH = $(shell echo $(BUILDID) | cut -c 5-6)
+BUILD_DAY = $(shell echo $(BUILDID) | cut -c 7-8)
+BUILD_HOUR = $(shell echo $(BUILDID) | cut -c 9-10)
 
 ifndef PKG_SUFFIX
 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 PKG_SUFFIX = .dmg
 else
 ifeq ($(OS_ARCH),WINNT)
 PKG_SUFFIX = .zip
 else