mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Add .git
suffix to source urls
This commit is contained in:
parent
e1b4213dcc
commit
0ad69ea6fc
@ -96,9 +96,9 @@ func mn(_ *cobra.Command, _ []string) {
|
||||
importer = &internal.SrpmMode{}
|
||||
} else {
|
||||
if moduleMode {
|
||||
sourceRpmLocation = fmt.Sprintf("%s/%s", modulePrefix, sourceRpm)
|
||||
sourceRpmLocation = fmt.Sprintf("%s/%s.git", modulePrefix, sourceRpm)
|
||||
} else {
|
||||
sourceRpmLocation = fmt.Sprintf("%s/%s", rpmPrefix, sourceRpm)
|
||||
sourceRpmLocation = fmt.Sprintf("%s/%s.git", rpmPrefix, sourceRpm)
|
||||
}
|
||||
importer = &internal.GitMode{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user