Source: tkdesk
Version: 2.0-9.2
Severity: wishlist
Tags: patch upstream
Usertags: fileordering

Dear Maintainer,

While working on the “reproducible builds” effort [1], we have noticed
that 'tkdesk' could not be built reproducibly.

The attached patch fixes the order in which files are parsed by the
mkindex script.
Once applied, tkdesk can be built reproducibly in our current
experimental framework.

Alexis Bienvenüe.


--- tkdesk-2.0.orig/tcldesk/mkindex
+++ tkdesk-2.0/tcldesk/mkindex
@@ -74,7 +74,7 @@
     append index "# sets an element in the auto_index array, where the\n"
     append index "# element name is the name of a command and the value is\n"
     append index "# a script that loads the command.\n\n"
-    foreach file [eval glob $args] {
+    foreach file [lsort [eval glob $args]] {
 	set f ""
 	set error [catch {
 	    set f [open $file]
Reproducible-builds mailing list

Reply via email to