summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-11-05 20:45:49 +0000
committerJeremy Katz <katzj@redhat.com>2002-11-05 20:45:49 +0000
commitf00761d2f225b355931038ec6f12cecc0ac8512e (patch)
tree8ee7c91ab60fbc47175f52d3fabaea57ec11b0fe /scripts
parentb4196f402ee41d631aa43ff62f2440600ae1eb75 (diff)
downloadanaconda-f00761d2f225b355931038ec6f12cecc0ac8512e.tar.gz
anaconda-f00761d2f225b355931038ec6f12cecc0ac8512e.tar.xz
anaconda-f00761d2f225b355931038ec6f12cecc0ac8512e.zip
need to use file:// for the comps file name to keep urllib happy
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pkgorder4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 5dab48fd8..ff1659553 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -74,8 +74,8 @@ except rpm.error:
print "Failed to read header list", f
sys.exit(1)
# and read the comps file
-comps = comps.ComponentSet(distDir + "/RedHat/base/comps.xml", hdlist,
- arch = arch, matchAllLang = 0)
+comps = comps.ComponentSet("file://%s/RedHat/base/comps.xml" %(distDir,),
+ hdlist, arch = arch, matchAllLang = 0)
# work out the order we'd like to install everything in
pkgOrder = []