summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-02 06:31:28 +0000
committerRoland McGrath <roland@gnu.org>2002-12-02 06:31:28 +0000
commit720efe005bf1e5795e57b7b7acf828b4d9874b9f (patch)
treea325cfdab917559eb773d12f634fabc22f528077 /scripts
parent6d3423184e540742d013aaff0ca1e497264641ae (diff)
downloadglibc-720efe005bf1e5795e57b7b7acf828b4d9874b9f.tar.gz
* scripts/versions.awk: Don't pass -n flag to sort command.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/versions.awk5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/versions.awk b/scripts/versions.awk
index 785380a8ed..7e33387d41 100644
--- a/scripts/versions.awk
+++ b/scripts/versions.awk
@@ -26,7 +26,10 @@ BEGIN {
close(defsfile);
tmpfile = buildroot "Versions.tmp";
- sort = "sort -n > " tmpfile;
+ # Note this sorting presumes only single digits between dots for proper
+ # numeric ordering. sort -n doesn't do quite the right thing either,
+ # and in some non-GNU sort implementations does not sort at all.
+ sort = "sort > " tmpfile;
}
# Remove comment lines.