yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01894
[Branch ~yade-dev/yade/trunk] Rev 1736: Fix version detection on systems where version is not specified by hand or in RELEASE file and bz...
------------------------------------------------------------
revno: 1736
committer: Václav Šmilauer <vaclav@flux>
branch nick: trunk
timestamp: Wed 2009-08-26 00:28:12 +0200
message:
Fix version detection on systems where version is not specified by hand or in RELEASE file and bzr is not installed
modified:
SConstruct
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'SConstruct'
--- SConstruct 2009-08-25 14:21:44 +0000
+++ SConstruct 2009-08-25 22:28:12 +0000
@@ -188,6 +188,7 @@
## ALL generated stuff should go here - therefore we must determine it very early!!
if not env.has_key('version'):
env['realVersion']=yadeSCons.getRealVersion()
+ if not env['realVersion']: env['realVersion']='unknown'
env['version']=env['realVersion']
if not env.has_key('realVersion') or not env['realVersion']: env['realVersion']=env['version']