summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2015-01-26 15:07:21 (GMT)
committerPat Thoyts <patthoyts@users.sourceforge.net>2015-05-01 14:53:06 (GMT)
commit82b2cab317863eb6322386157f73b0e021b72ba2 (patch)
tree5773486d0962ad4018c5971e11d61e20eea5bc1c /Makefile
parent4498b3a50a0e839788682f672df267cbc1ba9292 (diff)
downloadgit-82b2cab317863eb6322386157f73b0e021b72ba2.zip
git-82b2cab317863eb6322386157f73b0e021b72ba2.tar.gz
git-82b2cab317863eb6322386157f73b0e021b72ba2.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f00bdd..fe30be3 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