Integrated: 8315844: $LSB_RELEASE is not defined before use

Magnus Ihse Bursie ihse at openjdk.org
Fri Apr 4 13:22:16 UTC 2025


On Thu, 3 Apr 2025 10:04:59 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> When running configure on WSL, the following error message is printed, instead of proper Linux environment info:
> 
> 
>     /build/.configure-support/generated-configure.sh: line 13102: -d: command not found 
> 
> 
> This is due to us calling `$LSB_RELEASE -d`, but LSB_RELEASE is not yet defined at that point in time. Fix this by moving the LSB_RELEASE check forward.

This pull request has now been integrated.

Changeset: 4dca735b
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4dca735bf30bcef17d127b8156cc41c4144fb536
Stats:     5 lines in 1 file changed: 1 ins; 3 del; 1 mod

8315844: $LSB_RELEASE is not defined before use

Reviewed-by: jwaters, erikj, djelinski

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

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


More information about the build-dev mailing list