diff auto/endianess @ 703:694d285ec752

fix ">/dev/null 2>&1" order
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 Sep 2006 12:35:01 +0000
parents 4e296b7d25bf
children d620f497c50f
line wrap: on
line diff
--- a/auto/endianess
+++ b/auto/endianess
@@ -26,7 +26,7 @@ ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLA
 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
 
 if [ -x $NGX_AUTOTEST ]; then
-    if $NGX_AUTOTEST 2>&1 > /dev/null; then
+    if $NGX_AUTOTEST >/dev/null 2>&1; then
         echo " little endianess"
         have=NGX_HAVE_LITTLE_ENDIAN . auto/have
     else