diff options
author | Ondrej Filip <feela@network.cz> | 2004-09-08 18:06:07 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-09-08 18:06:07 +0200 |
commit | 8910351c76af983411e09e04aff86ea5d9940cf1 (patch) | |
tree | 34a0ca893dc226f4cfd86a159efaab0f029151f7 | |
parent | c6dce04bed40959b331a5b79aadd11c3b34d4af5 (diff) | |
download | bird-8910351c76af983411e09e04aff86ea5d9940cf1.tar bird-8910351c76af983411e09e04aff86ea5d9940cf1.zip |
sort from GNU coreutils 5.2.1 doesn't accept the +- syntax
anymore. Hopefully the -k syntax is supported by all other
sort versions
-rwxr-xr-x | tools/mergedirs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mergedirs b/tools/mergedirs index 33bcbda..883e6f1 100755 --- a/tools/mergedirs +++ b/tools/mergedirs @@ -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 |