Skip to content

Commit

Permalink
fix checksum validation
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Apr 24, 2024
1 parent 14b68e2 commit bcf7e30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func DownloadSource(downloadPath string, source Source, moduleName string) error
if err != nil {
return err
}
return checksumValidation(source, filepath.Join(downloadPath, GetSourcePath(source, moduleName)))
return checksumValidation(source, filepath.Join(downloadPath, GetSourcePath(source, moduleName), moduleName+".tar"))
} else {
return fmt.Errorf("unsupported source type %s", source.Type)
}
Expand Down
2 changes: 1 addition & 1 deletion core/dpkg-buildpackage.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func BuildDpkgBuildPkgModule(moduleInterface interface{}, recipe *api.Recipe) (s

cmd := fmt.Sprintf(
"cd /sources/%s && dpkg-buildpackage -d -us -uc -b",
filepath.Join(api.GetSourcePath(module.Source, module.Name),
filepath.Join(api.GetSourcePath(module.Source, module.Name)),
)

for _, path := range module.Source.Paths {
Expand Down

0 comments on commit bcf7e30

Please sign in to comment.