From 0ca829ce874d3e8cdec33773eae5d33a7fcc2aab Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 25 May 2016 14:43:56 -0700 Subject: Stabilize another sort. Unstable sorting means confusing diffs if you're checking in the generated files. (Which I shouldn't be doing, but getting this bundle of random scripts into Android's build system isn't going to be easy...) --- scripts/genconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index e4c2aad7..c55e7d12 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -102,7 +102,7 @@ EOF genconfig() { # Reverse sort puts posix first, examples last. - for j in $(ls toys/*/README | sort -r) + for j in $(ls toys/*/README | sort -s -r) do DIR="$(dirname "$j")" -- cgit v1.2.3