changeset 4320:b72828fe457f

Compute the repository root from the checkout.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 30 Nov 2011 07:36:09 +0000
parents f40541f7afb5
children c7e65deabf0d
files misc/GNUmakefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/misc/GNUmakefile
+++ b/misc/GNUmakefile
@@ -3,7 +3,7 @@ VER =		$(shell grep 'define NGINX_VERSIO
 			| sed -e 's/^.*\"\(.*\)\"/\1/')
 NGINX =		nginx-$(VER)
 TEMP =		tmp
-REPO =		svn://svn.nginx.com
+REPO =		$(shell svn info | sed -n 's/^Repository Root: //p')
 
 OBJS =		objs.msvc8
 OPENSSL =	openssl-1.0.0d
@@ -46,7 +46,7 @@ RELEASE:
 	svn ci -F $(TEMP)/message
 
 	echo "release-$(VER) tag" > $(TEMP)/message
-	svn copy $(REPO)/nginx/trunk $(REPO)/nginx/tags/release-$(VER)  \
+	svn copy $(REPO)/trunk $(REPO)/tags/release-$(VER)		\
 		-F $(TEMP)/message
 
 	svn up