Skip to content

Commit

Permalink
[main] Build break workaround. (#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelWMS authored Apr 20, 2022
1 parent 8a3d212 commit 7a49a6c
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,15 @@ func (r *RpmRepoCloner) Clone(cloneDeps bool, packagesToClone ...*pkgjson.Packag
for _, pkg := range packagesToClone {
pkgName := convertPackageVersionToTdnfArg(pkg)

downloadDir := chrootDownloadDir
if !buildpipeline.IsRegularBuild() {
downloadDir = cacheRepoDir
}

logger.Log.Debugf("Cloning: %s", pkgName)
args := []string{
"--destdir",
chrootDownloadDir,
downloadDir,
pkgName,
}

Expand Down

0 comments on commit 7a49a6c

Please sign in to comment.