diff options
author | Elliott Hughes <enh@google.com> | 2016-05-25 14:43:56 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-05-26 14:38:49 -0500 |
commit | 0ca829ce874d3e8cdec33773eae5d33a7fcc2aab (patch) | |
tree | 431be2f1ffef05dc22e7265609da5d92d8869207 | |
parent | 9c3789aed19ab8a0f2de58ff091c1e834e4cb8d9 (diff) | |
download | toybox-0ca829ce874d3e8cdec33773eae5d33a7fcc2aab.tar.gz |
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...)
-rwxr-xr-x | scripts/genconfig.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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")" |