summaryrefslogtreecommitdiffstats
path: root/test/Builder-factories.py
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/Builder-factories.py
parent101ccb287767fbe9509726a4af66f46d4caf2ea9 (diff)
downloadSCons-3bf4475522d2a24910b147a607dcd9f0d980097f.zip
SCons-3bf4475522d2a24910b147a607dcd9f0d980097f.tar.gz
SCons-3bf4475522d2a24910b147a607dcd9f0d980097f.tar.bz2
Fix Fedora Core 3 test portability.
Diffstat (limited to 'test/Builder-factories.py')
-rw-r--r--test/Builder-factories.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Builder-factories.py b/test/Builder-factories.py
index 8bdcd3a..41f83a2 100644
--- a/test/Builder-factories.py
+++ b/test/Builder-factories.py
@@ -48,7 +48,9 @@ MakeDirectory = Builder(action=mkdir, target_factory=Dir)
def collect(env, source, target):
out = open(str(target[0]), 'wb')
dir = str(source[0])
- for f in os.listdir(dir):
+ files = os.listdir(dir)
+ files.sort()
+ for f in files:
f = os.path.join(dir, f)
out.write(open(f, 'r').read())
out.close()