Re: [gentoo-dev] [PATCH v2] java-pkg-simple.eclass: respect SLOT="0" in JAVA_LAUNCHER_FILENAME

2023-05-29 Thread Ulrich Mueller
> On Mon, 29 May 2023, Volkmar W Pogatzki wrote: > +if [[ ${SLOT} = 0 ]]; then > +: "${JAVA_LAUNCHER_FILENAME:=${PN}}" > +else > : "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}" > +fi Please indent the lines in the then and else blocks. signature.asc Description: PGP signature

[gentoo-dev] [PATCH v2] java-pkg-simple.eclass: respect SLOT="0" in JAVA_LAUNCHER_FILENAME

2023-05-29 Thread Volkmar W. Pogatzki
Avoids the need for setting JAVA_LAUNCHER_FILENAME="${PN}" if SLOT is 0. Signed-off-by: Volkmar W. Pogatzki --- eclass/java-pkg-simple.eclass | 4 1 file changed, 4 insertions(+) diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index 929ce68c6c07..a57fae02ffd7