add -c to /bin/sh

This commit is contained in:
Igor Sysoev 2006-09-18 13:01:04 +00:00
parent 648cb68d30
commit d34238f755

View 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