# HG changeset patch # User Igor Sysoev # Date 1158584464 0 # Node ID 5bb10018ae140758bac0033502ef56428141a60e # Parent 58bd27d7251983aaffe14899e2f20faca7846a03 add -c to /bin/sh diff --git a/auto/feature b/auto/feature --- 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