On Wed, 29 Mar 2023, Sam James wrote:
- if ! has test "$IUSE"; then
+ if ! has test ${IUSE}; then
You cannot reliably test for a flag in IUSE with code like this.
PMS defines the function in_iuse() for this (unless the above is
in global scope, in which case you're out of luck).
On Wed, 29 Mar 2023, Sam James wrote:
- if ! has test "$IUSE"; then
+ if ! has test ${IUSE}; then
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 21:28:32 |
Calls: | 9,488 |
Calls today: | 7 |
Files: | 13,617 |
Messages: | 6,121,094 |