Source

SCons / test / Builder-factories.py

Diff from to

test/Builder-factories.py

 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()