diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-14 23:07:04 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-15 17:21:45 +0300 |
commit | 39f963988b15312db1270f692646a636cac9211c (patch) | |
tree | 51d7927f3b5175e12b44dd4cb3ccbf3ec53bc5ed /mesonbuild/backend/xcodebackend.py | |
parent | 318d50270c231fa063b5be2a995b933fb69b852f (diff) | |
download | meson-39f963988b15312db1270f692646a636cac9211c.zip meson-39f963988b15312db1270f692646a636cac9211c.tar.gz meson-39f963988b15312db1270f692646a636cac9211c.tar.bz2 |
Xcode: this is what happens when you do not treat command lines as arrays.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-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 98a38b8..4271748 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) |