From 5fab57ec53c71cf1dc0a0d5e43ce5bb68a1314c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 24 Jun 2005 20:15:04 +0000 Subject: [PATCH] =?UTF-8?q?string=20sa=C3=A7mal=C4=B1=C4=9F=C4=B1=20yerine?= =?UTF-8?q?=20util'deki=20removepathprefix'i=20kullan.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/build.py b/pisi/build.py index 65578acf..0f0ae3b4 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -192,7 +192,7 @@ class PisiBuild: for pinfo in package.paths: path = install_dir + pinfo.pathname for fpath, fhash in util.get_file_hashes(path): - frpath = fpath[len(install_dir):] # relative path + frpath = util.removepathprefix(install_dir, fpath) # relative path ftype = getFileType(frpath, package.paths) fsize = str(os.path.getsize(fpath)) files.append(FileInfo(frpath, ftype, fsize, fhash))