aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-09-02 22:08:13 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-09-02 22:08:13 +0300
commitd742f1be51ac0916f9a3df4f93c67255aaa35131 (patch)
treeeaa27caf68c53be8fca98cd43848486dfffd9b9f /backends.py
parent171fab8feac0c454c08dab7b9c927fdd3b36608e (diff)
downloadmeson-d742f1be51ac0916f9a3df4f93c67255aaa35131.zip
meson-d742f1be51ac0916f9a3df4f93c67255aaa35131.tar.gz
meson-d742f1be51ac0916f9a3df4f93c67255aaa35131.tar.bz2
Guard against people running Meson on an already configured build dir.
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index 341d2fb..4957178 100644
--- a/backends.py
+++ b/backends.py
@@ -501,7 +501,7 @@ class NinjaBackend(Backend):
ninja_quote(self.environment.get_build_command()),
ninja_quote(self.environment.get_source_dir()),
ninja_quote(self.environment.get_build_dir()))
- outfile.write(" command = '%s' '%s' '%s' '%s' --backend ninja\n" % c)
+ outfile.write(" command = '%s' '%s' '%s' '%s' --backend ninja secret-handshake\n" % c)
outfile.write(' description = Regenerating build files\n')
outfile.write(' generator = 1\n\n')