changeset 705:5bb10018ae14

add -c to /bin/sh
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 Sep 2006 13:01:04 +0000
parents 58bd27d72519
children e1d119bf5033
files auto/feature
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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