From 832b002c8b41d2680e20e332d8a0432cc5b8c3e5 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Fri, 24 Aug 2007 16:40:04 +0000 Subject: [PATCH] Scons: allow the use of snapshot version of scons git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19776 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/development/scons/SConstruct b/development/scons/SConstruct index ae518e5c83..18ee2a0a08 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -46,6 +46,7 @@ EnsurePythonVersion(2, 3) EnsureSConsVersion(0, 96) # also check for minor version number for scons 0.96 from SCons import __version__ +__version__ = __version__.split('d')[0] version = map(int, __version__.split('.')) if version[0] == 0 and version[1] == 96 and version[2] < 92: print "Scons >= 0.96.92 is required."