Mercurial > hg > nginx
changeset 5147:864030a4ff2a
Configure: unified nginx version computation constructs.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 28 Mar 2013 08:47:25 +0000 |
parents | f45b83d20cfb |
children | 4bcd35e7a0f0 |
files | docs/GNUmakefile misc/GNUmakefile |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/GNUmakefile Thu Mar 28 08:47:06 2013 +0000 +++ b/docs/GNUmakefile Thu Mar 28 08:47:25 2013 +0000 @@ -1,6 +1,6 @@ VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ - | sed -e 's/^.*\"\(.*\)\"/\1/') + | sed -e 's/^.*"\(.*\)".*/\1/') NGINX= nginx-$(VER) TEMP= tmp CP= $(HOME)/java
--- a/misc/GNUmakefile Thu Mar 28 08:47:06 2013 +0000 +++ b/misc/GNUmakefile Thu Mar 28 08:47:25 2013 +0000 @@ -1,6 +1,6 @@ VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ - | sed -e 's/^.*\"\(.*\)\"/\1/') + | sed -e 's/^.*"\(.*\)".*/\1/') NGINX = nginx-$(VER) TEMP = tmp REPO = $(shell svn info | sed -n 's/^Repository Root: //p')