changed @ to - in package name

This commit is contained in:
Nick Bolton 2014-10-22 14:56:57 +01:00
parent 5bd0139734
commit 1c1f0e70f2

View File

@ -1438,7 +1438,7 @@ class InternalCommands:
def dist_name_rev(self, type): def dist_name_rev(self, type):
# find the version number (we're puting the rev in after this) # find the version number (we're puting the rev in after this)
pattern = '(.*\d+\.\d+\.\d+)(.*)' pattern = '(.*\d+\.\d+\.\d+)(.*)'
replace = "\g<1>-%s@%s\g<2>" % ( replace = "\g<1>-%s-%s\g<2>" % (
self.getGitBranchName(), self.getGitRevision()) self.getGitBranchName(), self.getGitRevision())
return re.sub(pattern, replace, self.dist_name(type)) return re.sub(pattern, replace, self.dist_name(type))