From 8a444aa7242a294e03f551228152c393a1d68f50 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 12 Oct 2006 19:55:15 +0000 Subject: check nginx.pm version --- misc/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/GNUmakefile b/misc/GNUmakefile index f911c8308..158d7a13c 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -1,6 +1,6 @@ -VER= $(shell grep NGINX_VER src/core/nginx.h \ - | sed -e 's%^.*\"nginx/\(.*\)\"%\1%') +VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ + | sed -e 's/^.*\"\(.*\)\"/\1/') NGINX= nginx-$(VER) TEMP= tmp -- cgit