Re: [PATCH weston] build: fix setuid check

2015-04-12 Thread Pekka Paalanen
On Sat, 11 Apr 2015 15:50:25 +0300 Giulio Camuffo wrote: > 2015-04-10 19:55 GMT+03:00 Derek Foreman : > > At least in some shells test needs 3 arguments for string comparison > > Hi, > > this fixes the issue for me. > > Reviewed-By: Giulio Camuffo > Pushed. 9a0b2b5..6d11679 master -> ma

Re: [PATCH weston] build: fix setuid check

2015-04-11 Thread Giulio Camuffo
2015-04-10 19:55 GMT+03:00 Derek Foreman : > At least in some shells test needs 3 arguments for string comparison Hi, this fixes the issue for me. Reviewed-By: Giulio Camuffo > > if test $foo=yes ... > > will always be true. > > if test $foo = yes ... > > will perform a string comparison. > >