From: Ruslan Ermilov Date: Thu, 28 Mar 2013 08:47:25 +0000 (+0000) Subject: Configure: unified nginx version computation constructs. X-Git-Tag: release-1.3.16~12 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=f24f5f116fb58339cd418aa460cdee80b3a36768;p=nginx.git Configure: unified nginx version computation constructs. --- 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')