mirror of
https://github.com/nginx/nginx.git
synced 2025-01-06 14:13:00 -06:00
Fixed configuration summary and manpage contents for the special
--error-log-path=stderr case.
This commit is contained in:
parent
c8fdda4c2f
commit
88ca608da1
@ -53,7 +53,7 @@ esac
|
||||
|
||||
|
||||
case ".$NGX_ERROR_LOG_PATH" in
|
||||
./*)
|
||||
./* | .)
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -80,7 +80,7 @@ $NGX_OBJS/nginx.8: man/nginx.8 $NGX_AUTO_CONFIG_H
|
||||
sed -e "s|%%PREFIX%%|$NGX_PREFIX|" \\
|
||||
-e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\
|
||||
-e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\
|
||||
-e "s|%%ERROR_LOG_PATH%%|$NGX_ERROR_LOG_PATH|" \\
|
||||
-e "s|%%ERROR_LOG_PATH%%|${NGX_ERROR_LOG_PATH:-stderr}|" \\
|
||||
< man/nginx.8 > $NGX_OBJS/nginx.8
|
||||
|
||||
install: $NGX_OBJS${ngx_dirsep}nginx${ngx_binext} \
|
||||
@ -139,7 +139,7 @@ install: $NGX_OBJS${ngx_dirsep}nginx${ngx_binext} \
|
||||
END
|
||||
|
||||
|
||||
if test -n "\$(DESTDIR)$NGX_ERROR_LOG_PATH"; then
|
||||
if test -n "$NGX_ERROR_LOG_PATH"; then
|
||||
cat << END >> $NGX_MAKEFILE
|
||||
|
||||
test -d '\$(DESTDIR)`dirname "$NGX_ERROR_LOG_PATH"`' || \
|
||||
|
Loading…
Reference in New Issue
Block a user