RFR: 8315844: $LSB_RELEASE is not defined before use
Erik Joelsson
erikj at openjdk.org
Fri Apr 4 07:06:51 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.
Marked as reviewed by erikj (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24409#pullrequestreview-2742007104
More information about the build-dev
mailing list