summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2018-03-24 19:47:21 (GMT)
committerTobias Markmann <tm@ayena.de>2018-05-29 12:47:03 (GMT)
commitf0e4635dfda897e1b4ab7ce2f8ebd2e97f1714f3 (patch)
treea8cadb5f82dab9f129c6219067a39a81bb2dc5e9 /Swiften
parentccb69544950110bc1d738162ed008444340ee0aa (diff)
downloadswift-f0e4635dfda897e1b4ab7ce2f8ebd2e97f1714f3.zip
swift-f0e4635dfda897e1b4ab7ce2f8ebd2e97f1714f3.tar.bz2
Sort input file list
so that the swift-im openSUSE package builds in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. License: This patch is BSD licensed - see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: Builds on different machines should no longer have differences in Swiften.h Change-Id: I8066a66db83c7d7ff10858196cb72b13af3f6008
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index db08225..4deddaf 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -593,6 +593,8 @@ if env["SCONS_STAGE"] == "build" :
swiften_public_includes = []
top_path = env.Dir("..").abspath
for root, dirs, files in os.walk(env.Dir(".").abspath) :
+ dirs.sort()
+ files.sort()
if root.endswith("UnitTest") :
continue
for file in files :