On Fri, 26 May 2023, Volkmar W Pogatzki wrote:
-: "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}"
+if [[ ${SLOT} = 0 ]]; then
+ JAVA_LAUNCHER_FILENAME="${PN}"
+else
+ JAVA_LAUNCHER_FILENAME="${PN}-${SLOT}"
+fi
Ulrich Mueller <ulm@gentoo.org> hat am 26.05.2023 10:44 CEST geschrieben:
On Fri, 26 May 2023, Volkmar W Pogatzki wrote:
-: "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}"
+if [[ ${SLOT} = 0 ]]; then
+ JAVA_LAUNCHER_FILENAME="${PN}"
+else
+ JAVA_LAUNCHER_FILENAME="${PN}-${SLOT}"
+fi
This will no longer allow overriding the variable in the ebuild
(at least not pre-inherit). Is this intentional?
Ulrich
On Mon, 29 May 2023, Volkmar W Pogatzki wrote:
-: "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}"
+if [[ ${SLOT} = 0 ]]; then
+ JAVA_LAUNCHER_FILENAME="${PN}"
+else
+ JAVA_LAUNCHER_FILENAME="${PN}-${SLOT}"
+fi
This will no longer allow overriding the variable in the ebuild
(at least not pre-inherit). Is this intentional?
It exactly does what it's supposed to do.
No clue about "not pre-inherit".
How to sanitize?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 82:57:34 |
Calls: | 9,679 |
Calls today: | 3 |
Files: | 13,722 |
Messages: | 6,173,389 |
Posted today: | 3 |