[cig-commits] commit: Updating StgSCons.
Mercurial
hg at geodynamics.org
Mon Nov 24 11:22:55 PST 2008
changeset: 55:06edcb98bcdf
user: LukeHodkinson
date: Thu Mar 27 23:18:10 2008 +0000
files: StgSCons
description:
Updating StgSCons.
diff -r 3404438a3a54 -r 06edcb98bcdf StgSCons
--- a/StgSCons Thu Mar 27 23:10:18 2008 +0000
+++ b/StgSCons Thu Mar 27 23:18:10 2008 +0000
@@ -274,6 +274,10 @@ int main( int argc, char* argv[] ) {
""" % (hdrs, suites)
src_filename = os.path.join(env["buildPath"], env.project_name,
"test" + env.project_name + ".c")
+ import pdb
+ pdb.set_trace()
+ if not os.path.exists(os.path.dirname(File(src_filename).path)):
+ os.makedirs(os.path.dirname(File(src_filename).path))
f = open(File(src_filename).path, "w")
f.write(src)
f.close()
More information about the CIG-COMMITS
mailing list