Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save masuidrive/300194 to your computer and use it in GitHub Desktop.
Save masuidrive/300194 to your computer and use it in GitHub Desktop.
From f57d62514eb35da0f87c880bb888bd620729e23d Mon Sep 17 00:00:00 2001
From: masuidrive <[email protected]>
Date: Wed, 10 Feb 2010 02:21:54 -0800
Subject: [PATCH] Compile on space included directory
---
wscript | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/wscript b/wscript
index b7cf737..5800ff7 100644
--- a/wscript
+++ b/wscript
@@ -91,7 +91,7 @@ def conf_subproject (conf, subdir, command=None):
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)
@@ -191,7 +191,7 @@ def build_udns(bld):
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),
@@ -234,7 +234,7 @@ def v8_cmd(bld, variant):
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))
--
1.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment