From be8b06d523706c84b7997e94d34b0beecea06983 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Aug 04 2008 20:57:05 +0000 Subject: Make sure we get relative paths to the images. --- diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index b809b6a..abc65d1 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -694,7 +694,7 @@ class Pungi(pypungi.PungiBase): sums.append((outpath, sum)) # Walk the os/images path to get sums of all the files - os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir) + os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir + '/') # Get a checksum of repomd.xml since it has within it sums for other files repomd = os.path.join(self.topdir, 'repodata', 'repomd.xml')