diff options
| author | Albert Tang <tangalbert919@yahoo.com> | 2023-08-17 13:14:04 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-12-10 22:01:23 -0500 |
| commit | 354843c4281f21ad30da06f3a6284e6d3752b1ed (patch) | |
| tree | 8d71ed52aeef91a12ef57dc67b3a751fd671db8a /mesonbuild/backend/xcodebackend.py | |
| parent | 1de398a3775063f52b7f287b603a1e3ca9e8fab5 (diff) | |
| download | meson-354843c4281f21ad30da06f3a6284e6d3752b1ed.tar.gz | |
xcode: Enclose work directory in shell scripts
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
| -rw-r--r-- | mesonbuild/backend/xcodebackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index e2b8b9985..590b24f06 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1250,7 +1250,7 @@ class XCodeBackend(backends.Backend): for c in fixed_cmd: quoted_cmd.append(c.replace('"', chr(92) + '"')) cmdstr = ' '.join([f"\\'{x}\\'" for x in quoted_cmd]) - custom_dict.add_item('shellScript', f'"cd {workdir}; {cmdstr}"') + custom_dict.add_item('shellScript', f'"cd \'{workdir}\'; {cmdstr}"') custom_dict.add_item('showEnvVarsInLog', 0) def generate_generator_target_shell_build_phases(self, objects_dict): |
