From 720efe005bf1e5795e57b7b7acf828b4d9874b9f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 2 Dec 2002 06:31:28 +0000 Subject: * scripts/versions.awk: Don't pass -n flag to sort command. --- scripts/versions.awk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/versions.awk b/scripts/versions.awk index 785380a..7e33387 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. -- cgit v1.1