X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=module-tools.py;h=66536a502861ab29760ee8ff4c244d1d4ff5b7dc;hb=1337117f860a49d60ce313882d7d075bacfc2e1c;hp=96631692c2b140e0c9e24ba59ad1d9378260c5fd;hpb=82b3ef3fafb00b6342359e2a8fbf0e1f88802e94;p=build.git 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)