aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-10 02:19:47 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-10 02:19:47 +0000
commit072c8f498c496d41adbbfb85c36492c4f29d6436 (patch)
tree693af5d1b4acb2b57070d9b023e797efaf8a6200 /Makefile
parent202a8e88ab417492bb1932e69c7f1791f5f921c4 (diff)
Merged revisions 50228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r50228 | russell | 2007-01-09 21:17:46 -0500 (Tue, 09 Jan 2007) | 14 lines Merged revisions 50227 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines Make the number that represents the major version number a single digit instead of 2. Using two digits makes it an octal number when put into version.h, which breaks the compilation of any out of tree module that checks the version for any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev mailing list, who gave credit to vihai for pointing it out) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50229 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4efa98e12..0a5ea4222 100644
--- a/Makefile
+++ b/Makefile
@@ -223,7 +223,7 @@ endif
ASTERISKVERSION:=$(shell build_tools/make_version .)
ifneq ($(wildcard .version),)
- ASTERISKVERSIONNUM:=$(shell awk -F. '{printf "%02d%02d%02d", $$1, $$2, $$3}' .version)
+ ASTERISKVERSIONNUM:=$(shell awk -F. '{printf "%01d%02d%02d", $$1, $$2, $$3}' .version)
RPMVERSION:=$(shell sed 's/[-\/:]/_/g' .version)
else
RPMVERSION=unknown