[Xorp-cvs] SF.net SVN: xorp:[11686] trunk/xorp/SConstruct

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Fri Dec 11 02:18:39 PST 2009


Revision: 11686
          http://xorp.svn.sourceforge.net/xorp/?rev=11686&view=rev
Author:   bms_fbsd
Date:     2009-12-11 10:18:38 +0000 (Fri, 11 Dec 2009)

Log Message:
-----------
Ensure the builddir is explicitly created before referencing it.

I couldn't reproduce this condition with a current SCons snapshot,
which suggests the issue may only affect earlier SCons versions.

Submitted by:	Ben Greear

Modified Paths:
--------------
    trunk/xorp/SConstruct

Modified: trunk/xorp/SConstruct
===================================================================
--- trunk/xorp/SConstruct	2009-12-07 19:22:56 UTC (rev 11685)
+++ trunk/xorp/SConstruct	2009-12-11 10:18:38 UTC (rev 11686)
@@ -122,6 +122,10 @@
 
 SConsignFile(builddir + '/.sconsign')
 
+try:
+    Execute(Mkdir(builddir))
+except:
+    pass
 log_args(builddir + '/.scons_build_args')
 
 # XXX TODO: Make initial CPPPATH/LIBPATH derive from


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list