From 203fb6f9a37d59828e6ea957ce92821d8f73088b Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 30 Nov 2011 07:36:09 +0000 Subject: [PATCH] Compute the repository root from the checkout. --- misc/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/GNUmakefile b/misc/GNUmakefile index bf6f7c584..31c73667d 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -3,7 +3,7 @@ VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ | 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