Files
swift-mirror/test/Driver/LegacyDriver/Inputs/print-args.sh
Tony Allevato 4c298581e6 Propagate response files correctly to the new driver.
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.
2022-02-04 15:33:40 -08:00

6 lines
59 B
Bash
Executable File

#!/usr/bin/env sh
for arg in "$@" ; do
echo "$arg"
done