diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 19:55:15 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 19:55:15 +0000 |
| commit | 8a444aa7242a294e03f551228152c393a1d68f50 (patch) | |
| tree | e5a18ba15aefe5bbac9eeb2fb26289f6b70366e3 /misc | |
| parent | d79b21d1c6c36cf8687336e8b4bde59e9380cab2 (diff) | |
| download | nginx-8a444aa7242a294e03f551228152c393a1d68f50.tar.gz nginx-8a444aa7242a294e03f551228152c393a1d68f50.tar.bz2 | |
check nginx.pm version
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
