From: Igor Sysoev Date: Mon, 18 Sep 2006 13:01:04 +0000 (+0000) Subject: add -c to /bin/sh X-Git-Tag: release-0.4.3~15 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=d34238f755ff1f1f1e2ef4cf2cf5601d44ab6162;p=nginx.git add -c to /bin/sh --- diff --git a/auto/feature b/auto/feature index afe171c15..0cf1f1e18 100644 --- 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