Integrated: 8295192: Use original configure command line when called from a script

Magnus Ihse Bursie ihse at openjdk.org
Mon Oct 17 09:32: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.

This pull request has now been integrated.

Changeset: 552d8a28
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/552d8a2821f03046896a728d6e4cec0ef754d3f4
Stats:     57 lines in 5 files changed: 54 ins; 0 del; 3 mod

8295192: Use original configure command line when called from a script

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/10669



More information about the build-dev mailing list