summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-05-13 10:39:55 +0200
committerMartin Kosek <mkosek@redhat.com>2013-05-14 18:49:05 +0200
commit8897b5181458af0f4237fbc0344c1ba9ceb9ddcd (patch)
tree1feb26f97ba7fe197a9054a2716547ce258c159e /Makefile
parent2ba3140affdff258716b0f156c2c205ee9fcdd2f (diff)
downloadfreeipa-8897b5181458af0f4237fbc0344c1ba9ceb9ddcd.tar.gz
freeipa-8897b5181458af0f4237fbc0344c1ba9ceb9ddcd.tar.xz
freeipa-8897b5181458af0f4237fbc0344c1ba9ceb9ddcd.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f4053b5d..b6f4fa20c 100644
--- a/Makefile
+++ b/Makefile
@@ -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.