From f00761d2f225b355931038ec6f12cecc0ac8512e Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 5 Nov 2002 20:45:49 +0000 Subject: need to use file:// for the comps file name to keep urllib happy --- scripts/pkgorder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 = [] -- cgit