diff options
author | Steven Knight <knight@baldmt.com> | 2005-03-04 02:44:26 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-03-04 02:44:26 (GMT) |
commit | 3bf4475522d2a24910b147a607dcd9f0d980097f (patch) | |
tree | f84f598ecc6c449fd1784b76ca52b7330d88f230 /test/TAR | |
parent | 101ccb287767fbe9509726a4af66f46d4caf2ea9 (diff) | |
download | SCons-3bf4475522d2a24910b147a607dcd9f0d980097f.zip SCons-3bf4475522d2a24910b147a607dcd9f0d980097f.tar.gz SCons-3bf4475522d2a24910b147a607dcd9f0d980097f.tar.bz2 |
Fix Fedora Core 3 test portability.
Diffstat (limited to 'test/TAR')
-rw-r--r-- | test/TAR/TARFLAGS.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TAR/TARFLAGS.py b/test/TAR/TARFLAGS.py index 5864241..fcf7394 100644 --- a/test/TAR/TARFLAGS.py +++ b/test/TAR/TARFLAGS.py @@ -49,7 +49,9 @@ for opt, arg in cmd_opts: else: opt_string = opt_string + ' ' + opt def process(outfile, name): if os.path.isdir(name): - for entry in os.listdir(name): + entries = os.listdir(name) + entries.sort() + for entry in entries: process(outfile, os.path.join(name, entry)) else: outfile.write(open(name, 'rb').read()) |