From 7b9ed647a4dc3cd9f794e37393a6836f14cf3104 Mon Sep 17 00:00:00 2001 From: "jkeating@localhost.localdomain" <> Date: Mon, 16 Oct 2006 00:08:17 -0400 Subject: [PATCH] Put the downloaded packages in an arch specific dir --- gather/gather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gather/gather.py b/gather/gather.py index 9e8280ba..dee7fe13 100755 --- a/gather/gather.py +++ b/gather/gather.py @@ -97,7 +97,7 @@ class Gather(yum.YumBase): downloads.append('%s.%s' % (pkg.name, pkg.arch)) self.logger.info("Download list: %s" % downloads) - pkgdir = os.path.join(self.opts.destdir, 'tree') # Package location within destdir, name subject to change/config + pkgdir = os.path.join(self.opts.destdir, self.opts.arch, 'tree') # Package location within destdir, name subject to change/config if not os.path.exists(pkgdir): os.makedirs(pkgdir)