Configure: unified nginx version computation constructs.
diff --git a/docs/GNUmakefile b/docs/GNUmakefile index 7c72b91..cfa0289 100644 --- a/docs/GNUmakefile +++ b/docs/GNUmakefile
@@ -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
diff --git a/misc/GNUmakefile b/misc/GNUmakefile index 3735696..31fe24c 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile
@@ -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')