diff misc/GNUmakefile @ 5147:864030a4ff2a

Configure: unified nginx version computation constructs.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 28 Mar 2013 08:47:25 +0000
parents 566cd32d8bac
children 09dbd363050a
line wrap: on
line diff
--- 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')