diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-14 23:07:04 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-15 00:21:03 +0300 |
commit | 23c9c3dd7554c1d2032a16064d6f5cda723216f6 (patch) | |
tree | 349f75f8f30519865280b793f5992a6db92982c3 | |
parent | 1465f13386f87260f7bb08e454c5004bb3842db5 (diff) | |
download | meson-xcodez.tar.gz |
Xcode: this is what happens when you do not treat command lines as arrays.xcodez
-rw-r--r-- | mesonbuild/backend/xcodebackend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 98a38b8ee..42717481a 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1249,6 +1249,7 @@ class XCodeBackend(backends.Backend): if args: quoted_args = [] for a in args: + a = a.replace(r'"', r'\\\"') if ' ' in a: a = r'\"' + a + r'\"' quoted_args.append(a) |