Fix magic error in pisi build

This commit is contained in:
Safa Arıman
2019-08-23 00:05:51 +03:00
parent ccdedb3564
commit 808252e0ab
+4 -1
View File
@@ -1004,7 +1004,10 @@ class Builder:
for root, dirs, files in os.walk(install_dir):
for fn in files:
filepath = util.join_path(root, fn)
fileinfo = ms.from_file(filepath)
if os.path.exists(filepath):
fileinfo = ms.from_file(filepath)
else:
fileinfo = ''
strip_debug_action(filepath, fileinfo, install_dir, self.actionGlobals)
exclude_special_files(filepath, fileinfo, self.actionGlobals)