Remove leading zero from IPA_NUM_VERSION

The numeric IPA_NUM_VERSION contained a leading zero, so it was treated
as octal value in Python code instead of decimal.

https://fedorahosted.org/freeipa/ticket/3622
This commit is contained in:
Petr Viktorin
2013-05-13 10:39:55 +02:00
committed by Martin Kosek
parent 2ba3140aff
commit 8897b51814
2 changed files with 18 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ TARGET ?= master
SUPPORTED_PLATFORM ?= redhat
IPA_NUM_VERSION ?= $(shell printf %02d%02d%02d $(IPA_VERSION_MAJOR) $(IPA_VERSION_MINOR) $(IPA_VERSION_RELEASE))
IPA_NUM_VERSION ?= $(shell printf %d%02d%02d $(IPA_VERSION_MAJOR) $(IPA_VERSION_MINOR) $(IPA_VERSION_RELEASE))
# After updating the version in VERSION you should run the version-update
# target.