blob: c854d73a096fd711759f07bb011bad946c724551 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# $OpenBSD: makexetc,v 1.1 2014/08/28 17:08:33 matthieu Exp $
pwd=`pwd`
listsdir=`pwd`/lists
tardir=$DESTDIR/usr/share/sysmerge
TMP=`mktemp /tmp/_makexetc.XXXXXXXXXX` || exit 1
trap 'rm -f $TMP' 0 1 15
cd ${DESTDIR:=/}
(cd $pwd; sh gensetlist xetc) | sort >> $TMP
pax -w -d < $TMP | gzip -9 > ${tardir}/xetc.tgz
echo "done."
|