summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-03 16:52:24 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-03 16:52:24 +0000
commit0bd0d371beec2592567bec112a07e6c9293c2a3d (patch)
treeb07e3a9d8f8923ffd669e2456c1ce123bee1f7e2
parent4f5cbd65506056ac55b82f8681cdb092e7a2d1c2 (diff)
parent6dc47990a515f23cd6b43c20104238f53e8d08bc (diff)
Merge branch 'master' of git.carlh.net:git/cdist
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 7e13230..101cf28 100755
--- a/cdist
+++ b/cdist
@@ -627,7 +627,7 @@ class Tree(object):
proj = '%s/src/%s' % (target.directory, self.name)
self.cscript = {}
- execfile('%s/cscript' % proj, self.cscript)
+ exec(open('%s/cscript' % proj).read(), self.cscript)
if os.path.exists('%s/wscript' % proj):
v = read_wscript_variable(proj, "VERSION");