scons: fix program_info.cc generation
This commit is contained in:
parent
dace77dc4a
commit
fe4fd9f414
2 changed files with 3 additions and 2 deletions
|
@ -334,7 +334,8 @@ Source('base/traceflags.cc')
|
|||
|
||||
# Generate program_info.cc
|
||||
env.Command('base/program_info.cc',
|
||||
Value(str(SCons.Node.FS.default_fs.SConstruct_dir)), generate.programInfo)
|
||||
Value(str(SCons.Node.FS.default_fs.SConstruct_dir)),
|
||||
generate.programInfo)
|
||||
|
||||
# Build the zip file
|
||||
py_compiled = []
|
||||
|
|
|
@ -535,7 +535,7 @@ extern const Flags *compoundFlags[];
|
|||
pi_stats.close()
|
||||
|
||||
target = str(target[0])
|
||||
scons_dir = eval(str(source[0]))
|
||||
scons_dir = str(source[0])
|
||||
try:
|
||||
import mercurial.demandimport, mercurial.hg, mercurial.ui
|
||||
import mercurial.util, mercurial.node
|
||||
|
|
Loading…
Reference in a new issue