summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2015-01-26 17:07:21 +0200
committerPat Thoyts <patthoyts@users.sourceforge.net>2015-05-01 15:53:06 +0100
commit82b2cab317863eb6322386157f73b0e021b72ba2 (patch)
tree5773486d0962ad4018c5971e11d61e20eea5bc1c
parent4498b3a50a0e839788682f672df267cbc1ba9292 (diff)
downloadgit-82b2cab317863eb6322386157f73b0e021b72ba2.tar.gz
git-gui: sort entries in tclIndex
ALL_LIBFILES uses wildcard, which provides the result in directory order. This order depends on the underlying filesystem on the buildhost. To get reproducible builds it is required to sort such list before using them. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f00bdd3d6..fe30be38dc 100644
--- a/Makefile
+++ b/Makefile
@@ -259,7 +259,7 @@ lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VARS
rm -f $@ ; \
echo '# Autogenerated by git-gui Makefile' >$@ && \
echo >>$@ && \
- $(foreach p,$(PRELOAD_FILES) $(ALL_LIBFILES),echo '$(subst lib/,,$p)' >>$@ &&) \
+ $(foreach p,$(PRELOAD_FILES) $(sort $(ALL_LIBFILES)),echo '$(subst lib/,,$p)' >>$@ &&) \
echo >>$@ ; \
fi