diff --git a/docs/GNUmakefile b/docs/GNUmakefile index 7c72b9171..cfa028998 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 373569650..31fe24cea 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')