mirror of
https://github.com/nginx/nginx.git
synced 2024-11-26 02:40:46 -06: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)
|
||||
# /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
|
||||
|
Loading…
Reference in New Issue
Block a user