only put shared libs at the top of the tarballs, not all of X11R6/lib

ok matthieu@
This commit is contained in:
todd 2007-08-05 22:26:02 +00:00
parent a462491a05
commit 427c16f9a0

View File

@ -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