From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Sat, 26 Jun 2010 05:57:21 +0000 (+0200)
Subject: bugfix
X-Git-Tag: 5.0-rc12~64
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1337117f860a49d60ce313882d7d075bacfc2e1c;p=build.git

bugfix
---

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)