aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2016-08-31 13:12:01 (GMT)
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-09-03 14:08:07 (GMT)
commit0a6aae845717009d2d62cbccced75cce53c49f67 (patch)
treee26ab4d59f6a64f82ab4de8951488411f0cfc40c
parent410d8382193e2dacfdabfb09839a6ea92af40a66 (diff)
downloadandroid_build-staging/cm-14.0-caf.zip
android_build-staging/cm-14.0-caf.tar.gz
android_build-staging/cm-14.0-caf.tar.bz2
core: Fix build_{date,number}staging/cm-14.0-cafrefs/changes/33/2733/1
Change-Id: I81e6cb0e5e191f669bb665207d71f28f3fa19581 (cherry picked from commit e4d972f5a8bd9bb639f2eecab5b904e67894cae4)
-rw-r--r--core/main.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/main.mk b/core/main.mk
index b9137bc..9015006 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -122,8 +122,8 @@ endif
$(shell mkdir -p $(OUT_DIR) && \
echo -n $(BUILD_NUMBER) > $(OUT_DIR)/build_number.txt && \
echo -n $(BUILD_DATETIME) > $(OUT_DIR)/build_date.txt)
-BUILD_NUMBER_FROM_FILE := $(cat $(OUT_DIR)/build_number.txt)
-BUILD_DATETIME_FROM_FILE := $(cat $(OUT_DIR)/build_date.txt)
+BUILD_NUMBER_FROM_FILE := $(shell cat $(OUT_DIR)/build_number.txt)
+BUILD_DATETIME_FROM_FILE := $(shell cat $(OUT_DIR)/build_date.txt)
ifeq ($(HOST_OS),darwin)
DATE_FROM_FILE := date -r $(BUILD_DATETIME_FROM_FILE)
else