cm versioning: fix certificate check

The variable used does not exist at this stage of the build. Switch
to PRODUCT_DEFAULT_DEV_CERTIFICATE, which does exist when in use.

Change-Id: Icb3bbaa437e68b96e1ce05a09f6525cd1ddb9a6a
This commit is contained in:
Brint E. Kriebel 2014-01-24 09:58:36 -08:00
parent ff73189f56
commit ac948f53eb

View File

@ -294,8 +294,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
CM_DISPLAY_VERSION := $(CM_VERSION)
ifneq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),)
ifneq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),build/target/product/security/testkey)
ifneq ($(PRODUCT_DEFAULT_DEV_CERTIFICATE),)
ifneq ($(PRODUCT_DEFAULT_DEV_CERTIFICATE),build/target/product/security/testkey)
ifneq ($(CM_BUILDTYPE), UNOFFICIAL)
ifndef TARGET_VENDOR_RELEASE_BUILD_ID
ifneq ($(CM_EXTRAVERSION),)