RFR: 8315844: $LSB_RELEASE is not defined before use
Magnus Ihse Bursie
ihse at openjdk.org
Thu Apr 3 10:10:25 UTC 2025
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.
-------------
Commit messages:
- 8315844: $LSB_RELEASE is not defined before use
Changes: https://git.openjdk.org/jdk/pull/24409/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24409&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8315844
Stats: 5 lines in 1 file changed: 1 ins; 3 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/24409.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24409/head:pull/24409
PR: https://git.openjdk.org/jdk/pull/24409
More information about the build-dev
mailing list