diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-10 02:17:46 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-10 02:17:46 +0000 |
commit | f4425d9e8d8252f9b50f977895ebe5434e6364cb (patch) | |
tree | 59a2f3db77d1a7e0655532ba43075811f2de7c84 /Makefile | |
parent | 9f89a65ec1876cf024a4780961d15f13c7f07fde (diff) |
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/branches/1.4@50228 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |