]> git.kaiwu.me - nginx.git/commitdiff
add -c to /bin/sh
authorIgor Sysoev <igor@sysoev.ru>
Mon, 18 Sep 2006 13:01:04 +0000 (13:01 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 18 Sep 2006 13:01:04 +0000 (13:01 +0000)
auto/feature

index afe171c1504076e63ec927b18e7dab6f69dde7e4..0cf1f1e188f625ee7119fb60cb570e8205d3c306 100644 (file)
@@ -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