diff --git a/xcodeproj/internal/execution_root.bzl b/xcodeproj/internal/execution_root.bzl index a29824032..c941977d5 100644 --- a/xcodeproj/internal/execution_root.bzl +++ b/xcodeproj/internal/execution_root.bzl @@ -19,6 +19,7 @@ def write_execution_root_file(*, actions, bin_dir_path, name): output = actions.declare_file("{}_execution_root_file".format(name)) actions.run_shell( + use_default_shell_env = True, outputs = [output], command = """\ bin_dir_full="$(perl -MCwd -e 'print Cwd::abs_path shift' "{bin_dir}";)"