On Fri, 13 Feb 2004 19:01:58 +0000 (GMT)
Andy Fiddaman <[EMAIL PROTECTED]> wrote:

> The problem is that this utility isn't standard on Solaris, it's part
> of an extended compatible utility set which may not be taken forwards
> into Solaris 10. Can we not find a different way of doing this check
> that will work on all systems? IP Filter does it like:
> 
>  @if [ `id|sed -e 's/^.[^(]*(\([^)]*\)).*/\1/'` != root ] ; then \
> 
> which is nasty, but /probably/ portable.

Thank you - applied in CVS.

Best regards,
Tomasz Kojm
-- 
      oo    .....       [EMAIL PROTECTED]         www.ClamAV.net
     (\/)\.........     http://www.clamav.net/gpg/tkojm.gpg
        \..........._   0DCA5A08407D5288279DB43454822DC8985A444B
          //\   /\      Fri Feb 13 21:27:38 CET 2004

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to