From 1337117f860a49d60ce313882d7d075bacfc2e1c Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Sat, 26 Jun 2010 07:57:21 +0200
Subject: [PATCH] bugfix

---
 module-tools.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/module-tools.py b/module-tools.py
index 96631692..66536a50 100755
--- a/module-tools.py
+++ b/module-tools.py
@@ -809,8 +809,8 @@ that for other purposes than tagging""" % options.workdir
                         modulepath = "%s-GITPATH"%(attempt.group('make_name'))
                         replacement = "%-32s:= %s/%s.git@%s\n"%(modulepath,attempt.group('url_main'),self.name,newname)
                     else:
-                        moduleath="%s-SVNPATH"%(attempt.group('make_name'))
-                        replacement = "%-32s:= %s/%s/tags/%s\n"%(svnpath,attempt.group('url_main'),self.name,newname)
+                        modulepath = "%s-SVNPATH"%(attempt.group('make_name'))
+                        replacement = "%-32s:= %s/%s/tags/%s\n"%(modulepath,attempt.group('url_main'),self.name,newname)
                     if self.options.verbose:
                         print ' ' + modulepath, 
                     new.write(replacement)
-- 
2.47.0