summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/pmpkg.py')
-rw-r--r--test/pacman/pmpkg.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py
index 31336610..9033dc61 100644
--- a/test/pacman/pmpkg.py
+++ b/test/pacman/pmpkg.py
@@ -174,8 +174,7 @@ class pmpkg(object):
def install_package(self, root):
"""Install the package in the given root."""
for f in self.files:
- util.mkfile(root, f, f)
- path = os.path.join(root, f)
+ path = util.mkfile(root, f, f)
if os.path.isfile(path):
os.utime(path, (355, 355))