On 11/09/2010 09:38 AM, Christian Weisgerber wrote:
> I noticed this in GNU tar 1.25 when FreeBSD's test(1) complained:
> 
> Use "=" operator for test(1), rather than non-standard "==".
> 
> 
> --- m4/mknod.m4.orig  Tue Nov  9 17:35:22 2010
> +++ m4/mknod.m4       Tue Nov  9 17:35:32 2010
> @@ -30,7 +30,7 @@
>        if (!geteuid ()) return 99;
>        if (mknod ("conftest.fifo", S_IFIFO | 0600, 0)) return 2;]])],
>           [gl_cv_func_mknod_works=yes],
> -         [if test $? == 99 && test x"$FORCE_UNSAFE_CONFIGURE" = x; then
> +         [if test $? = 99 && test x"$FORCE_UNSAFE_CONFIGURE" = x; then

Thanks; pushed.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to