mirror of
https://github.com/nginx/nginx.git
synced 2025-06-18 01:30:42 +08:00
add -c to /bin/sh
This commit is contained in:
parent
648cb68d30
commit
d34238f755
@ -44,7 +44,7 @@ if [ -x $NGX_AUTOTEST ]; then
|
|||||||
|
|
||||||
yes)
|
yes)
|
||||||
# /bin/sh is used to intercept "Killed" or "Abort trap" messages
|
# /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"
|
echo " found"
|
||||||
ngx_found=yes
|
ngx_found=yes
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ if [ -x $NGX_AUTOTEST ]; then
|
|||||||
|
|
||||||
bug)
|
bug)
|
||||||
# /bin/sh is used to intercept "Killed" or "Abort trap" messages
|
# /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"
|
echo " not found"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user