Skip to content

Commit 1af73ca

Browse files
committed
fix: running under nix;
fix: escaping whitespaces in output_groups Signed-off-by: Timothy Klim <[email protected]>
1 parent f4a8115 commit 1af73ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

xcodeproj/internal/execution_root.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def write_execution_root_file(*, actions, bin_dir_path, name):
1515
output = actions.declare_file("{}_execution_root_file".format(name))
1616

1717
actions.run_shell(
18+
use_default_shell_env = True,
1819
outputs = [output],
1920
command = """\
2021
bin_dir_full="$(perl -MCwd -e 'print Cwd::abs_path shift' "{bin_dir}";)"

xcodeproj/internal/templates/bazel_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# - output_groups
2020
# - (optional) target_ids
2121

22-
output_groups_flag="--output_groups=$(IFS=, ; echo "${output_groups[*]}")"
22+
output_groups_flag="--output_groups='$(IFS=, ; echo "${output_groups[*]}")'"
2323
readonly output_groups_flag
2424

2525
# Set `output_base`

0 commit comments

Comments
 (0)