diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-27 15:52:32 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-27 15:52:49 -0400 |
commit | 9fb8b3c594fda5b6fcebbae18cbbf7aae4255fd7 (patch) | |
tree | 42f2ca12c3a6b6f33d022aaebd43425762487d06 | |
parent | 048d97ac8dca5afb69dcf3363be91c3326983332 (diff) | |
download | anaconda-9fb8b3c594fda5b6fcebbae18cbbf7aae4255fd7.tar.gz anaconda-9fb8b3c594fda5b6fcebbae18cbbf7aae4255fd7.tar.xz anaconda-9fb8b3c594fda5b6fcebbae18cbbf7aae4255fd7.zip |
os.path.join does not work the way we think it should.
"If any component is an absolute path, all previous components are thrown
away, and joining continues."
-- http://docs.python.org/lib/module-os.path.html
-rw-r--r-- | yuminstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index 0484378a9..b9fb31125 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -246,7 +246,7 @@ class AnacondaYumRepo(YumRepository): if mirrorlist: self.mirrorlist = mirrorlist - self.setAttribute('cachedir', os.path.join(root, "/tmp/cache", self.id)) + self.setAttribute('cachedir', os.path.join(root, "tmp/cache", self.id)) def dirSetup(self): # FIXME: this is terrible, awful and shouldn't be allowed to see |