1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Subject: [PATCH] Reproducible Builds: Sort directory contents at build
Origin: https://github.com/swift/swift/pull/129
From b5d205c794770a38bf27876c35b4208e12c2074e Mon Sep 17 00:00:00 2001
From: kpcyrd <git@rxv.cc>
Date: Wed, 25 Aug 2021 23:30:17 +0200
---
Swiften/SConscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -593,7 +593,7 @@
swiften_includes = []
swiften_public_includes = []
top_path = env.Dir("..").abspath
- for root, dirs, files in os.walk(env.Dir(".").abspath) :
+ for root, dirs, files in sorted(os.walk(env.Dir(".").abspath)) :
dirs.sort()
files.sort()
if root.endswith("UnitTest") :
|