diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-14 23:07:04 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-14 23:07:04 +0300 |
commit | 01bef327f81ebfc3e748879663b49bfe6952527c (patch) | |
tree | daa722a0395ccbd06f5073ea3d574fd97e99383e | |
parent | b85f7d15fd023a456a0562b8d28ab6b5abc17223 (diff) | |
download | meson-xcodez.zip meson-xcodez.tar.gz meson-xcodez.tar.bz2 |
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 cbc478a..3ddf1cd 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1256,6 +1256,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) |