From 2c2d91652db81e9d73068e0f709704bfc0888c40 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 20 Nov 2011 12:51:46 +0100 Subject: [PATCH] Fix generation of package file path name. --- python/pakfire/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pakfire/builder.py b/python/pakfire/builder.py index 89500f473..c28d3ddb6 100644 --- a/python/pakfire/builder.py +++ b/python/pakfire/builder.py @@ -552,7 +552,7 @@ class BuildEnviron(object): pkgfile = os.path.join(self.build_dir, "%s.%s" % (self.pkg.name, MAKEFILE_EXTENSION)) if not os.path.exists(pkgfile): raise BuildError, _("Could not find makefile in build root: %s") % pkgfile - pkgfile = os.path.relpath(pkgfile, self.chrootPath()) + pkgfile = "/%s" % os.path.relpath(pkgfile, self.chrootPath()) resultdir = self.chrootPath("/result") -- 2.39.5