summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-09-18 13:01:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-09-18 13:01:04 +0000
commitd34238f755ff1f1f1e2ef4cf2cf5601d44ab6162 (patch)
treed091dae512e00b32551883eddffa646f94200509
parent648cb68d30d32300f3fd0f89b28ae686ee823c76 (diff)
downloadnginx-d34238f755ff1f1f1e2ef4cf2cf5601d44ab6162.tar.gz
nginx-d34238f755ff1f1f1e2ef4cf2cf5601d44ab6162.tar.bz2
add -c to /bin/sh
-rw-r--r--auto/feature4
1 files changed, 2 insertions, 2 deletions
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