We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ac6c3 commit 5f70331Copy full SHA for 5f70331
swift/internal/xcode_swift_toolchain.bzl
@@ -253,13 +253,12 @@ def _run_shell_action(
253
# Prepend the wrapper executable to the command being executed.
254
user_command = remaining_args.pop("command", "")
255
if type(user_command) == type([]):
256
- fail("Toolchain shell actions do not support the deprecated list form of the 'command' " +
257
- "argument.")
258
-
259
- command = "{wrapper_path} {user_command}".format(
260
- user_command = user_command,
261
- wrapper_path = wrapper.path,
262
- )
+ command = [wrapper.path] + user_command
+ else:
+ command = "{wrapper_path} {user_command}".format(
+ user_command = user_command,
+ wrapper_path = wrapper.path,
+ )
263
264
actions.run_shell(
265
command = command,
0 commit comments