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:13 +0200
commit9947b4397d2e04434da848ab6e500025d5944b38 (patch)
tree70d78bdabf31f63b63b9e23d0f1a6ac2485b2abb /Makefile
parent3a2671fc634f2d687dd0b3267dad4e4654064abe (diff)
downloadfreeipa.git-9947b4397d2e04434da848ab6e500025d5944b38.tar.gz
freeipa.git-9947b4397d2e04434da848ab6e500025d5944b38.tar.xz
freeipa.git-9947b4397d2e04434da848ab6e500025d5944b38.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 66a10a87..a9ea0464 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.