summaryrefslogtreecommitdiff
path: root/distrib/sets/maketars
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2007-08-05 22:26:03 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2007-08-05 22:26:03 +0000
commit4421b4998ad29c2b1eb07d17dcfb0bea3e85ddfc (patch)
tree7e8ee67f5b0bf302b163c5715e61b060faf0b912 /distrib/sets/maketars
parenteb9b1aa7b3ae563a83ce7a015ecdef665003bfbc (diff)
only put shared libs at the top of the tarballs, not all of X11R6/lib
ok matthieu@
Diffstat (limited to 'distrib/sets/maketars')
-rw-r--r--distrib/sets/maketars6
1 files changed, 3 insertions, 3 deletions
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