]> granicus.if.org Git - apache/commitdiff
Get rid of the "-g" on sort.
authorJeff Trawick <trawick@apache.org>
Sat, 30 Dec 2000 14:39:15 +0000 (14:39 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 30 Dec 2000 14:39:15 +0000 (14:39 +0000)
With GNU sort 2.0 (which ships with Mandrake 7.2), the -g makes
a difference in the sinclude order (which I assume is an intended
difference which I have just broken).

With GNU sort 1.2 (which ships with RedHat 6.0), the -g is accepted
but is not documented and makes no difference in the result.  Thus
systems with GNU sort 1.2 were broken before and are still broken
with respect to the order of the sinclude statements.

With OS/390, Tru64, Solaris, and now I think AIX, -g was not accepted
at all by sort so the output of this was broken and Apache would not
build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87554 13f79535-47bb-0310-9956-ffa450edef68

build/config-stubs

index 6c83b5119ca30526ef67a517f2773061fb06eb9c..533b5a072b8eaff3ac3c443a4cdb5fe758a113c5 100755 (executable)
@@ -2,7 +2,7 @@
 
 for configfiles in `find . -name "config*.m4" | \
          sed 's#\(.*\)\/config\(.*\)\.m4#\2config.m4\1#' | \
-         sort -g | \
+         sort | \
          sed 's#\(.*\)config.m4\(.*\)#\2/config\1.m4#g'`; do
     if [ -r $configfiles ]; then
         echo "sinclude($configfiles)"