RFR: 8295192: Use original configure command line when called from a script
Magnus Ihse Bursie
ihse at openjdk.org
Wed Oct 12 13:34:13 UTC 2022
On Wed, 12 Oct 2022 08:07:35 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Sometimes, the configure script is not called directly, but indirectly, using e.g. a wrapper script. This happens for instance in the case of using jib.sh.
>
> In such cases, calling "make reconfigure" will not re-execute the original wrapper script. This can result in subtle bugs.
>
> Instead, make a way to save the original command line from a wrapper script, and use that instead when running "make reconfigure".
>
> This PR also includes the corresponding changes needed to utilize this in jib.sh.
I've verified that the environment variables are properly set. I don't know what else to test. Do you have any suggestions?
-------------
PR: https://git.openjdk.org/jdk/pull/10669
More information about the build-dev
mailing list