]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
sort from GNU coreutils 5.2.1 doesn't accept the +- syntax
authorOndrej Filip <feela@network.cz>
Wed, 8 Sep 2004 16:06:07 +0000 (16:06 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 8 Sep 2004 16:06:07 +0000 (16:06 +0000)
anymore. Hopefully the -k syntax is supported by all other
sort versions

tools/mergedirs

index 33bcbdaa1036e70602a6b85aaecb8072321c1e7c..883e6f17af6dbdbfade40b505934557104e8de96 100755 (executable)
@@ -24,7 +24,7 @@ MODULES=`for a in $@ ; do
                $cpp -U unix -D MACROS_ONLY -I $OBJDIR - |
                sed "/^[ ]*\$/d;/^#/d;s@\\(.*\\)@\\1 $a/\\1@"
                done |
-       sort +0 -1 -u |
+       sort -k1,1 -u |
        cut -d ' ' -f 2`
 rm -rf $LIBDIR $CONFDIR
 mkdir -p $LIBDIR $CONFDIR