patch from sambler on irc, writes version info for OSX.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 22 Feb 2011 06:05:08 +0000 (06:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 22 Feb 2011 06:05:08 +0000 (06:05 +0000)
source/creator/CMakeLists.txt

index 19b62b0ce685be91e69016cba23d265a7a58f9bc..b7c134550cb00faa0cb9c0f622cb30055338b2cf 100644 (file)
@@ -440,7 +440,7 @@ if(WITH_INSTALL)
                        COMMAND cp -Rf ${SOURCEINFO} ${TARGETDIR}/blender.app/Contents/
                        COMMAND cp -Rf ${SOURCEDIR}/Contents/PkgInfo ${TARGETDIR}/blender.app/Contents/
                        COMMAND cp -Rf ${SOURCEDIR}/Contents/Resources ${TARGETDIR}/blender.app/Contents/
-                       COMMAND cat ${SOURCEINFO} | sed s/VERSION/`cat ${CMAKE_SOURCE_DIR}/release/VERSION`/ | sed s/DATE/`date +'%Y-%b-%d'`/ > ${TARGETINFO}
+                       COMMAND cat ${SOURCEINFO} | sed s/VERSION/${BLENDER_VERSION}${BLENDER_VERSION_CHAR}/ | sed s/DATE/`date +'%Y-%b-%d'`/ > ${TARGETINFO}
                        COMMAND rm -Rf ${TARGETDIR}/blender.app/Contents/MacOS/${BLENDER_VERSION}
                        COMMAND mkdir ${TARGETDIR}/blender.app/Contents/MacOS/${BLENDER_VERSION}
                        COMMAND mkdir ${TARGETDIR}/blender.app/Contents/MacOS/${BLENDER_VERSION}/datafiles/