* Messages for package net-misc/minissdpd-1.5.20180203: * Log file: /var/log/portage/net-misc:minissdpd-1.5.20180203:20180204-075939.log * QA Notice: shell script appears to use non-POSIX feature(s): * possible bashism in /etc/init.d/minissdpd line 14 (let ...): * let "IFUP = `cat /sys/class/net/$1/flags` & 1" * possible bashism in /etc/init.d/minissdpd line 47 (should be VAR="${VAR}foo"): * ARGS+="-i $IF "
(In reply to Michał Górny from comment #0) > * Messages for package net-misc/minissdpd-1.5.20180203: > * Log file: > /var/log/portage/net-misc:minissdpd-1.5.20180203:20180204-075939.log > > * QA Notice: shell script appears to use non-POSIX feature(s): > * possible bashism in /etc/init.d/minissdpd line 14 (let ...): > * let "IFUP = `cat /sys/class/net/$1/flags` & 1" > * possible bashism in /etc/init.d/minissdpd line 47 (should be > VAR="${VAR}foo"): > * ARGS+="-i $IF " Hmm ... the problem here is I'm not sure how to do bitwise and in dash.
Created attachment 605172 [details, diff] unified diff for files/minissdpd.initd-r2 to do the bitwise check in posix Changed the arithmetic/bitwise check to be posix compliant.