From ff9af3ba103fef9f6666ef697d5d8c9e368c574e Mon Sep 17 00:00:00 2001 From: Raul Cuza Date: Mon, 31 Jan 2011 15:15:04 -0500 Subject: Modify how MINOR variable is created so that it is always an integer. Info.plist requires that IFMinorVersion be an integer. The new hack assumes that the first character in the third section of the setup.py version variable is always an integer. --- osx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'osx') diff --git a/osx/Makefile b/osx/Makefile index 1e16d7b6c..1c75bb4ef 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -33,8 +33,9 @@ BCFGVER = $(shell /usr/bin/grep version ../setup.py | cut -d\" -f2) BCFGVER1 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f1) BCFGVER2 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f2) BCFGVER3 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f3) +BCFGVER3I = $(shell /usr/bin/python -c "import sys; print sys.argv[1][0:1]" ${BCFGVER3}) MAJOR = ${BCFGVER1} -MINOR = ${BCFGVER2}${BCFGVER3} +MINOR = ${BCFGVER2}${BCFGVER3I} default: clean client -- cgit v1.2.3-1-g7c22