diff options
| author | Chris Lumens <clumens@redhat.com> | 2005-11-17 07:26:24 +0000 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2005-11-17 07:26:24 +0000 |
| commit | 7eb31faf4735ccb345628696e983ca4bccd22f2d (patch) | |
| tree | ae72eaf99a8a7dcc2bc4630c00247a16140a0fc0 /scripts/pkgorder | |
| parent | f9e428d8321478e5383a4c375f361efacb646d24 (diff) | |
| download | anaconda-7eb31faf4735ccb345628696e983ca4bccd22f2d.tar.gz anaconda-7eb31faf4735ccb345628696e983ca4bccd22f2d.tar.xz anaconda-7eb31faf4735ccb345628696e983ca4bccd22f2d.zip | |
Move check to after variable is set.
Diffstat (limited to 'scripts/pkgorder')
| -rwxr-xr-x | scripts/pkgorder | 6 |
1 files changed, 3 insertions, 3 deletions
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)) |
