diff auto/feature @ 705:5bb10018ae14

add -c to /bin/sh
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 Sep 2006 13:01:04 +0000
parents 694d285ec752
children 7af8276b1c2f
line wrap: on
line diff
--- a/auto/feature
+++ b/auto/feature
@@ -44,7 +44,7 @@ if [ -x $NGX_AUTOTEST ]; then
 
         yes)
             # /bin/sh is used to intercept "Killed" or "Abort trap" messages
-            if /bin/sh $NGX_AUTOTEST >/dev/null 2>&1; then
+            if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
                 echo " found"
                 ngx_found=yes
 
@@ -59,7 +59,7 @@ if [ -x $NGX_AUTOTEST ]; then
 
         bug)
             # /bin/sh is used to intercept "Killed" or "Abort trap" messages
-            if /bin/sh $NGX_AUTOTEST >/dev/null 2>&1; then
+            if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
                 echo " not found"
 
             else