summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Makefile2
-rw-r--r--core/dumpvar.mk2
-rw-r--r--envsetup.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/Makefile b/core/Makefile
index f7ae05b..eb9d5fd 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1922,7 +1922,7 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
$(if $(OEM_OTA_CONFIG), -o $(OEM_OTA_CONFIG)) \
$(BUILT_TARGET_FILES_PACKAGE) $@
-CM_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(CM_VERSION).zip
+CM_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(LINEAGE_VERSION).zip
.PHONY: otapackage bacon
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
diff --git a/core/dumpvar.mk b/core/dumpvar.mk
index b25698a..0166e96 100644
--- a/core/dumpvar.mk
+++ b/core/dumpvar.mk
@@ -67,7 +67,7 @@ HOST_OS_EXTRA:=$(shell python -c "import platform; print(platform.platform())")
$(info ============================================)
$(info PLATFORM_VERSION_CODENAME=$(PLATFORM_VERSION_CODENAME))
$(info PLATFORM_VERSION=$(PLATFORM_VERSION))
-$(info LINEAGE_VERSION=$(CM_VERSION))
+$(info LINEAGE_VERSION=$(LINEAGE_VERSION))
$(info TARGET_PRODUCT=$(TARGET_PRODUCT))
$(info TARGET_BUILD_VARIANT=$(TARGET_BUILD_VARIANT))
$(info TARGET_BUILD_TYPE=$(TARGET_BUILD_TYPE))
diff --git a/envsetup.sh b/envsetup.sh
index cdbaeec..aed0616 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -734,7 +734,7 @@ function tapas()
function eat()
{
if [ "$OUT" ] ; then
- MODVERSION=$(get_build_var CM_VERSION)
+ MODVERSION=$(get_build_var LINEAGE_VERSION)
ZIPFILE=lineage-$MODVERSION.zip
ZIPPATH=$OUT/$ZIPFILE
if [ ! -f $ZIPPATH ] ; then