[asterisk-commits] russell: branch 1.2 r50227 -
/branches/1.2/Makefile
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 9 19:16:45 MST 2007
Author: russell
Date: Tue Jan 9 20:16:45 2007
New Revision: 50227
URL: http://svn.digium.com/view/asterisk?view=rev&rev=50227
Log:
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)
Modified:
branches/1.2/Makefile
Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/Makefile?view=diff&rev=50227&r1=50226&r2=50227
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Tue Jan 9 20:16:45 2007
@@ -317,7 +317,7 @@
ifneq ($(wildcard .version),)
ASTERISKVERSION:=$(shell cat .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
More information about the asterisk-commits
mailing list