summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-01-14 00:10:20 -0800
committerRoland McGrath <roland@redhat.com>2009-01-14 00:10:20 -0800
commitabe1393ade40cddf9bfdb566ee92fd5221c56863 (patch)
tree90973f287c8e8c0bb3f4052b0ecaded2f25c999c
parent2789b57bab12087e133b666b39afa38f91198c2b (diff)
downloaddebuginfo-test-scripts-abe1393ade40cddf9bfdb566ee92fd5221c56863.tar.gz
debuginfo-test-scripts-abe1393ade40cddf9bfdb566ee92fd5221c56863.tar.xz
debuginfo-test-scripts-abe1393ade40cddf9bfdb566ee92fd5221c56863.zip
Randomize file order.
-rwxr-xr-xupdate-file-lists.mk4
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 $@