From 7eb31faf4735ccb345628696e983ca4bccd22f2d Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 17 Nov 2005 07:26:24 +0000 Subject: Move check to after variable is set. --- scripts/pkgorder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/pkgorder') diff --git a/scripts/pkgorder b/scripts/pkgorder index fc57f52c4..a1771347e 100755 --- a/scripts/pkgorder +++ b/scripts/pkgorder @@ -136,13 +136,13 @@ if __name__ == "__main__": usage() sys.exit(1) + (toppath, arch, product) = args + config = createConfig(toppath) + # Boo. if arch == "i386": arch = "i686" - (toppath, arch, product) = args - config = createConfig(toppath) - for pattern in ["kernel-[0-9]*", "kernel-smp-[0-9]*"]: printMatchingPkgs("%s/%s/RPMS/%s" % (toppath, product, pattern)) -- cgit