Add baseName to LinkFromPool as explicit argument

This commit is contained in:
Andrey Smirnov committed 2017-04-26 23:17:04 +03:00
1 parent 0bc3f71d27
commit 3ce8227122
8 files changed
+24 -27

No files matched your search

+1 -1
View File
@@ -564,7 +564,7 @@ func (p *Package) LinkFromPool(publishedStorage aptly.PublishedStorage, packageP
relPath := filepath.Join("pool", component, poolDir)
publishedDirectory := filepath.Join(prefix, relPath)
err = publishedStorage.LinkFromPool(publishedDirectory, packagePool, sourcePoolPath, f.Checksums, force)
err = publishedStorage.LinkFromPool(publishedDirectory, f.Filename, packagePool, sourcePoolPath, f.Checksums, force)
if err != nil {
return err
}