Using '[ "$foo" == "bar" ]' should not be used in a portable shell script, replace the == with = please. Reproducible: Always Steps to Reproduce: 1. Have the uwsgi init script installed an in a runlevel. 2. Run "rc" or "rc-service uwsgi.foo restart". Actual Results: I get an error: '/lib/rc/sh/gendepends.sh: 10: [: uwsgi.moin: unexpected operator' Expected Results: There should be no error. I use dash for /bin/sh.
Thanks Philipp, it's fixed in tree :) +*uwsgi-2.0.8-r1 (05 Nov 2014) + + 05 Nov 2014; Ultrabug <ultrabug@gentoo.org> +uwsgi-2.0.8-r1.ebuild, + +files/uwsgi.initd-r4: + init script enable emperor in app mode thx to Stefan Talpalaru fix #528136, + remove bashism thx to Philipp Riegger fix #527566 +