Quote rule arguments.

This commit is contained in:
Jussi Pakkanen 2013-06-08 22:04:03 +03:00
parent 9323aa3ae3
commit 5fe09f9ee4
1 changed files with 1 additions and 1 deletions

View File

@ -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'