copytree(src, default_tgt, True)
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))
debug_tgt = join(conf.blddir, "debug", subdir)
static_lib = bld.env["staticlib_PATTERN"] % "udns"
- rule = 'cd %s && make'
+ rule = 'cd "%s" && make'
default = bld.new_task_gen(
target= join("deps/udns", static_lib),
else:
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
, bld.srcnode.abspath(bld.env_of_name(variant))