Add `.git` suffix to source urls

This commit is contained in:
Mustafa Gezen 2021-04-12 00:33:34 +02:00
parent e1b4213dcc
commit 0ad69ea6fc
1 changed files with 2 additions and 2 deletions

View File

@ -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{}
}