mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If a response file is being passed to the legacy driver because it is too large to fit on the system's command line, then it should also be passed when spawning the new driver. Currently, however, the legacy driver attempts to pass the *expanded* arguments to the new driver, which can cause the invocation to fail, requiring the new driver to be disabled in order to compile. This change passes the original arguments into `run_driver` as well as the expanded ones, so that the branch that spawns the new driver can use the original arguments instead.
6 lines
59 B
Bash
Executable File
6 lines
59 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
for arg in "$@" ; do
|
|
echo "$arg"
|
|
done
|