commit | 8a444aa7242a294e03f551228152c393a1d68f50 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Oct 12 19:55:15 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Oct 12 19:55:15 2006 +0000 |
tree | e5a18ba15aefe5bbac9eeb2fb26289f6b70366e3 | |
parent | d79b21d1c6c36cf8687336e8b4bde59e9380cab2 [diff] [blame] |
check nginx.pm version
diff --git a/misc/GNUmakefile b/misc/GNUmakefile index f911c83..158d7a1 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