Message ID | 20190417193525.8540-1-emeric.dupont@zii.aero |
---|---|
State | New |
Headers | show |
Series | Use builtin sort instead of shell sort | expand |
The 17.04.2019 21:36, Emeric Dupont wrote: <... Unwanted legalese ...> Sorry, please disregard the unwanted footer added against my will. I am actively trying to have out admins get rid of it where it is not applicable. -- Emeric Dupont Zodiac Inflight Innovations P +49815388678207 Argelsrieder Feld, 22 - 82234 Wessling www.safran-aerosystems.com
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index d186d71c91e..3196e774a26 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3538,7 +3538,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype # We keep the directory structure for files in config or c-family and .def # files. All other files are flattened to a single directory. $(mkinstalldirs) $(DESTDIR)$(plugin_includedir) -headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ +headers=$(sort $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def)); \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \ for file in $$headers; do \ if [ -f $$file ] ; then \