diff auto/feature @ 702:67deba330372

auto/configure [ PAUSE ] hwcap bug
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 Sep 2006 12:27:33 +0000
parents 4946078f0a79
children 694d285ec752
line wrap: on
line diff
--- a/auto/feature
+++ b/auto/feature
@@ -43,7 +43,8 @@ if [ -x $NGX_AUTOTEST ]; then
     case "$ngx_feature_run" in
 
         yes)
-            if $NGX_AUTOTEST 2>&1 > /dev/null; then
+            # /bin/sh is used to intercept "Killed" or "Abort trap" messages
+            if /bin/sh $NGX_AUTOTEST > /dev/null 2>&1; then
                 echo " found"
                 ngx_found=yes
 
@@ -57,7 +58,8 @@ if [ -x $NGX_AUTOTEST ]; then
         ;;
 
         bug)
-            if $NGX_AUTOTEST 2>&1 > /dev/null; then
+            # /bin/sh is used to intercept "Killed" or "Abort trap" messages
+            if /bin/sh $NGX_AUTOTEST > /dev/null 2>&1; then
                 echo " not found"
 
             else