küçük bir düzeltme
This commit is contained in:
+3
-4
@@ -110,7 +110,7 @@ class PisiBuild:
|
|||||||
def unpackArchive(self):
|
def unpackArchive(self):
|
||||||
fileName = os.path.basename(self.ctx.spec.source.archiveUri)
|
fileName = os.path.basename(self.ctx.spec.source.archiveUri)
|
||||||
filePath = self.ctx.archives_dir() + '/' + fileName
|
filePath = self.ctx.archives_dir() + '/' + fileName
|
||||||
archive = Archive(filePath, ctx.spec.source.archiveType)
|
archive = Archive(filePath, self.ctx.spec.source.archiveType)
|
||||||
archive.unpack(self.work_dir)
|
archive.unpack(self.work_dir)
|
||||||
|
|
||||||
def applyPatches(self):
|
def applyPatches(self):
|
||||||
@@ -144,10 +144,9 @@ class PisiBuild:
|
|||||||
# the worst function in this project!
|
# the worst function in this project!
|
||||||
# just testing...
|
# just testing...
|
||||||
install_dir = self.ctx.pkg_install_dir()
|
install_dir = self.ctx.pkg_install_dir()
|
||||||
for f in util.get_file_hashes(install_dir):
|
for fpath, fhash in util.get_file_hashes(install_dir):
|
||||||
# get the relative path
|
# get the relative path
|
||||||
fpath = f[0][len(install_dir):]
|
fpath = fpath[len(install_dir):]
|
||||||
fhash = f[1]
|
|
||||||
|
|
||||||
depth = 0
|
depth = 0
|
||||||
ftype = ""
|
ftype = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user