Fix concatenation error
This is a regression introduced when the support for Source/AdditionalFile support is added.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2010-03-03 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||
* pisi/operations/build.py: Fix concatenation error. This is a
|
||||
regression introduced when the support for Source/AdditionalFile
|
||||
support is added.
|
||||
|
||||
2010-02-28 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||
* pisi/atomicoperations.py: Check if the old and new paths
|
||||
refer to the same file when relocating or cleaning up. Also
|
||||
|
||||
@@ -365,7 +365,7 @@ class Builder:
|
||||
self.download(comaruri, pisi.util.join_path(self.destdir, ctx.const.comar_dir))
|
||||
|
||||
def fetch_additionalFiles(self):
|
||||
for pkg in self.spec.packages + self.spec.source:
|
||||
for pkg in self.spec.packages + [self.spec.source]:
|
||||
for afile in pkg.additionalFiles:
|
||||
file_name = os.path.basename(afile.filename)
|
||||
dir_name = os.path.dirname(afile.filename)
|
||||
|
||||
Reference in New Issue
Block a user