diff --git a/distrib/sets/maketars b/distrib/sets/maketars index a10651e5f..2139e9923 100644 --- a/distrib/sets/maketars +++ b/distrib/sets/maketars @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: maketars,v 1.2 2007/03/28 20:07:23 todd Exp $ +# $OpenBSD: maketars,v 1.3 2007/08/05 22:26:02 todd Exp $ # xy RELEASE=$1 @@ -38,8 +38,8 @@ cd $DESTDIR for setname in $lists; do echo -n "${setname}: " (cd $pwd; sh gensetlist $setname $Release) | sort > $TMP1 - grep '^./usr/X11R6/lib' $TMP1 > $TMP2 - grep -v '^./usr/X11R6/lib' $TMP1 >> $TMP2 + sed -n '/^\.\/usr\/X11R6\/lib\/lib.*\.so\..*/{p;}' $TMP1 > $TMP2 + sed '/^\.\/usr\/X11R6\/lib\/lib.*\.so\..*/d' $TMP1 >> $TMP2 pax -w -d < $TMP2 | gzip -9 > ${tardir}/${setname}${RELEASE}.tgz echo "done." done