← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1804: fix bug in scons.profile*: now CPPPATH and LIBPATH is a simple string (not a list) with colon sep...

 

------------------------------------------------------------
revno: 1804
committer: Sergei D. <sega@think>
branch nick: trunk
timestamp: Fri 2009-11-20 18:32:50 +0300
message:
  fix bug in scons.profile*: now CPPPATH and LIBPATH is a simple string (not a list) with colon separated paths.
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-11-20 11:34:59 +0000
+++ SConstruct	2009-11-20 15:32:50 +0000
@@ -161,9 +161,9 @@
 opts.Update(env)
 opts.Save(optsFile,env)
 if env.has_key('CPPPATH'):
-	env['CPPPATH']=colonSplit(env['CPPPATH'][0])
+	env['CPPPATH']=colonSplit(env['CPPPATH'])
 if env.has_key('LIBPATH'):
-	env['LIBPATH']=colonSplit(env['LIBPATH'][0])
+	env['LIBPATH']=colonSplit(env['LIBPATH'])
 
 # do not propagate PATH from outside, to ensure identical builds on different machines
 #env.Append(ENV={'PATH':['/usr/local/bin','/bin','/usr/bin']})


Follow ups