Browse Source

Build system: support spaces in directory names

v0.7.4-release
masuidrive 15 years ago
committed by Ryan Dahl
parent
commit
3337e9da1a
  1. 6
      wscript

6
wscript

@ -91,7 +91,7 @@ def conf_subproject (conf, subdir, command=None):
copytree(src, default_tgt, True) copytree(src, default_tgt, True)
if command: if command:
if os.system("cd %s && %s" % (default_tgt, command)) != 0: if os.system("cd \"%s\" && %s" % (default_tgt, command)) != 0:
conf.fatal("Configuring %s failed." % (subdir)) conf.fatal("Configuring %s failed." % (subdir))
debug_tgt = join(conf.blddir, "debug", subdir) debug_tgt = join(conf.blddir, "debug", subdir)
@ -191,7 +191,7 @@ def build_udns(bld):
static_lib = bld.env["staticlib_PATTERN"] % "udns" static_lib = bld.env["staticlib_PATTERN"] % "udns"
rule = 'cd %s && make' rule = 'cd "%s" && make'
default = bld.new_task_gen( default = bld.new_task_gen(
target= join("deps/udns", static_lib), target= join("deps/udns", static_lib),
@ -234,7 +234,7 @@ def v8_cmd(bld, variant):
else: else:
mode = "debug" mode = "debug"
cmd_R = 'python %s -C %s -Y %s visibility=default mode=%s %s library=static snapshot=on' cmd_R = 'python "%s" -C "%s" -Y "%s" visibility=default mode=%s %s library=static snapshot=on'
cmd = cmd_R % ( scons cmd = cmd_R % ( scons
, bld.srcnode.abspath(bld.env_of_name(variant)) , bld.srcnode.abspath(bld.env_of_name(variant))

Loading…
Cancel
Save