diff options
author | Erik Troan <ewt@redhat.com> | 2000-11-29 18:01:55 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-11-29 18:01:55 +0000 |
commit | af4dfd7f75dd68649f1b18688a32bb189f752247 (patch) | |
tree | a081f1ed8e9b647236f34925d25b9f86231392e3 /scripts | |
parent | 4e65ff97f7085344d41eae21319358386186b8bc (diff) | |
download | anaconda-af4dfd7f75dd68649f1b18688a32bb189f752247.tar.gz anaconda-af4dfd7f75dd68649f1b18688a32bb189f752247.tar.xz anaconda-af4dfd7f75dd68649f1b18688a32bb189f752247.zip |
changed arguments a bit
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/pkgorder | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/pkgorder b/scripts/pkgorder index 8998fdb9f..1e7e0e87a 100755 --- a/scripts/pkgorder +++ b/scripts/pkgorder @@ -47,18 +47,12 @@ if len(sys.argv) != 3: sys.exit(1) arch = sys.argv[2] -distDir = os.path.normpath(sys.argv[1] + "/" + arch) -srcDir = os.path.normpath(sys.argv[1] + "/SRPMS") +distDir = os.path.normpath(sys.argv[1]) if not os.path.isdir(distDir): print "error: %s is not a directory" % distDir sys.exit(1) -if not os.path.isdir(srcDir): - print "error: %s is not a directory" % srcDir - sys.exit(1) - - disc1Dir = distDir + "-disc1" disc1SrcDir = distDir + "-srpms" disc2Dir = distDir + "-disc2" |