mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Replace percentage in import name with underscore
This commit is contained in:
parent
d272dd817f
commit
c84bb1d953
@ -312,5 +312,5 @@ func (g *GitMode) ImportName(_ *data.ProcessData, md *data.ModeData) string {
|
||||
return match[3]
|
||||
}
|
||||
|
||||
return strings.TrimPrefix(md.TagBranch, "refs/heads/")
|
||||
return strings.Replace(strings.TrimPrefix(md.TagBranch, "refs/heads/"), "%", "_", -1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user