diff options
author | Steven Knight <knight@baldmt.com> | 2003-04-26 13:02:02 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-04-26 13:02:02 (GMT) |
commit | a925fbfbbecd978b6275ba0592e3bd21b0bd7781 (patch) | |
tree | 292853eb221ebe82c9e9b47c03c74b78a155add0 /test/TAR.py | |
parent | dbb26a739bda888c1b7e206dbf6753ebadc68ebc (diff) | |
download | SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.zip SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.gz SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.bz2 |
Portability fixes for test. (Chad Austin)
Diffstat (limited to 'test/TAR.py')
-rw-r--r-- | test/TAR.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TAR.py b/test/TAR.py index 669bd0f..abd86ba 100644 --- a/test/TAR.py +++ b/test/TAR.py @@ -46,7 +46,9 @@ for opt, arg in opts: if opt == '-f': out = arg def process(outfile, name): if os.path.isdir(name): - for entry in os.listdir(name): + list = os.listdir(name) + list.sort() + for entry in list: process(outfile, os.path.join(name, entry)) else: outfile.write(open(name, 'rb').read()) |