remove leading hypen from extraversion before adding one
Change-Id: Ia33f564d272cae14f300c18d783a108ad09dfef6
This commit is contained in:
parent
c8a6193b0e
commit
19425dde40
@ -212,6 +212,8 @@ ifdef CM_BUILDTYPE
|
|||||||
ifdef CM_EXTRAVERSION
|
ifdef CM_EXTRAVERSION
|
||||||
# Force build type to EXPERIMENTAL
|
# Force build type to EXPERIMENTAL
|
||||||
CM_BUILDTYPE := EXPERIMENTAL
|
CM_BUILDTYPE := EXPERIMENTAL
|
||||||
|
# Remove leading dash from CM_EXTRAVERSION
|
||||||
|
CM_EXTRAVERSION := $(shell echo $(CM_EXTRAVERSION) | sed 's/-//')
|
||||||
# Add leading dash to CM_EXTRAVERSION
|
# Add leading dash to CM_EXTRAVERSION
|
||||||
CM_EXTRAVERSION := -$(CM_EXTRAVERSION)
|
CM_EXTRAVERSION := -$(CM_EXTRAVERSION)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user