aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-06-08 22:04:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-06-08 22:04:03 +0300
commit5fe09f9ee455c8c883c9e8ccf28ff9f3a80c412b (patch)
tree7bc260dc263f30f9d575e5a43e8384b5324c880e
parent9323aa3ae3df5c9d2cae14cde6230bcc899c3b99 (diff)
downloadmeson-5fe09f9ee455c8c883c9e8ccf28ff9f3a80c412b.zip
meson-5fe09f9ee455c8c883c9e8ccf28ff9f3a80c412b.tar.gz
meson-5fe09f9ee455c8c883c9e8ccf28ff9f3a80c412b.tar.bz2
Quote rule arguments.
-rwxr-xr-xbackends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index ec71ffd..ec2ebd1 100755
--- a/backends.py
+++ b/backends.py
@@ -508,7 +508,7 @@ class NinjaBackend(Backend):
scriptdir = self.environment.get_script_dir()
outfile.write('\n')
symrule = 'rule SHSYM\n'
- symcmd = ' command = %s %s %s %s\n' % (ninja_quote(sys.executable),
+ symcmd = ' command = "%s" "%s" "%s" "%s"\n' % (ninja_quote(sys.executable),
ninja_quote(os.path.join(scriptdir, 'symbolextractor.py')),
'$in', '$out')
synstat = ' restat = 1\n'