comparison auto/feature @ 705:5bb10018ae14

add -c to /bin/sh
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 Sep 2006 13:01:04 +0000
parents 694d285ec752
children 7af8276b1c2f
comparison
equal deleted inserted replaced
704:58bd27d72519 705:5bb10018ae14
42 42
43 case "$ngx_feature_run" in 43 case "$ngx_feature_run" in
44 44
45 yes) 45 yes)
46 # /bin/sh is used to intercept "Killed" or "Abort trap" messages 46 # /bin/sh is used to intercept "Killed" or "Abort trap" messages
47 if /bin/sh $NGX_AUTOTEST >/dev/null 2>&1; then 47 if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
48 echo " found" 48 echo " found"
49 ngx_found=yes 49 ngx_found=yes
50 50
51 if test -n "$ngx_feature_name"; then 51 if test -n "$ngx_feature_name"; then
52 have=$ngx_have_feature . auto/have 52 have=$ngx_have_feature . auto/have
57 fi 57 fi
58 ;; 58 ;;
59 59
60 bug) 60 bug)
61 # /bin/sh is used to intercept "Killed" or "Abort trap" messages 61 # /bin/sh is used to intercept "Killed" or "Abort trap" messages
62 if /bin/sh $NGX_AUTOTEST >/dev/null 2>&1; then 62 if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
63 echo " not found" 63 echo " not found"
64 64
65 else 65 else
66 echo " found" 66 echo " found"
67 ngx_found=yes 67 ngx_found=yes