sort from GNU coreutils 5.2.1 doesn't accept the +- syntax

anymore. Hopefully the -k syntax is supported by all other
sort versions
This commit is contained in:
Ondrej Filip 2004-09-08 16:06:07 +00:00
parent c6dce04bed
commit 8910351c76

View file

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