summaryrefslogtreecommitdiffstats
path: root/test/TAR
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-03-04 02:44:26 (GMT)
committerSteven Knight <knight@baldmt.com>2005-03-04 02:44:26 (GMT)
commit3bf4475522d2a24910b147a607dcd9f0d980097f (patch)
treef84f598ecc6c449fd1784b76ca52b7330d88f230 /test/TAR
parent101ccb287767fbe9509726a4af66f46d4caf2ea9 (diff)
downloadSCons-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.py4
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())