diff options
Diffstat (limited to 'update-file-lists.mk')
-rwxr-xr-x | update-file-lists.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-file-lists.mk b/update-file-lists.mk index 52699e4..05edbc0 100755 --- a/update-file-lists.mk +++ b/update-file-lists.mk @@ -9,7 +9,7 @@ ifeq (,$(summary)) dirs := $(wildcard */) $(which).list: $(dirs:=$(which).list) - cat -- $^ > $@.new + sort -R -- $^ > $@.new mv -f $@.new $@ me := $(MAKEFILE_LIST) @@ -23,7 +23,7 @@ else $(which).list: %.list: $(summary) (echo 'all:\'; \ - list-files.sh $* | sed 's,^.*$$,test@/&\\,'; \ + list-files.sh $* | sed 's,^.*$$,test@/&\\,' | sort -R; \ echo) > $@.new mv -f $@.new $@ |