From: Michael Tremer Date: Sun, 20 Nov 2011 11:51:46 +0000 (+0100) Subject: Fix generation of package file path name. X-Git-Tag: 0.9.18~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c2d91652db81e9d73068e0f709704bfc0888c40;p=pakfire.git Fix generation of package file path name. --- 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")