Skip to content

Commit 6e7193f

Browse files
author
ru
committed
Configure: unified nginx version computation constructs.
1 parent 8e6ea46 commit 6e7193f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \
3-
| sed -e 's/^.*\"\(.*\)\"/\1/')
3+
| sed -e 's/^.*"\(.*\)".*/\1/')
44
NGINX= nginx-$(VER)
55
TEMP= tmp
66
CP= $(HOME)/java

misc/GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \
3-
| sed -e 's/^.*\"\(.*\)\"/\1/')
3+
| sed -e 's/^.*"\(.*\)".*/\1/')
44
NGINX = nginx-$(VER)
55
TEMP = tmp
66
REPO = $(shell svn info | sed -n 's/^Repository Root: //p')

0 commit comments

Comments
 (0)