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