summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/GNUmakefile2
-rw-r--r--misc/GNUmakefile2
2 files changed, 2 insertions, 2 deletions
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')