diff options
author | 2014-07-09 16:01:17 +0000 | |
---|---|---|
committer | 2014-07-09 16:01:17 +0000 | |
commit | 520b733b2ef75cbf706faf9d0cae951185609669 (patch) | |
tree | 957d28cbb6b596b437a9b5a66cdb67f8c0c31d40 | |
parent | Now that the stack handles properly the xhci(4) way of setting an (diff) | |
download | wireguard-openbsd-520b733b2ef75cbf706faf9d0cae951185609669.tar.xz wireguard-openbsd-520b733b2ef75cbf706faf9d0cae951185609669.zip |
generate a locatedb while making release.
input and okay deraadt@
-rw-r--r-- | distrib/sets/maketars | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/distrib/sets/maketars b/distrib/sets/maketars index e20d4f9e6e5..3067706d812 100644 --- a/distrib/sets/maketars +++ b/distrib/sets/maketars @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: maketars,v 1.20 2010/10/18 04:11:15 deraadt Exp $ +# $OpenBSD: maketars,v 1.21 2014/07/09 16:01:17 espie Exp $ # # Copyright (c) 2001 Theo de Raadt # All rights reserved. @@ -62,4 +62,10 @@ for i in base comp etc game man; do echo "done." done rm -f $TMP $TMP2 + +for i in base comp etc game man; do + cat ${lists}/$i/mi ${lists}/$i/md.${arch} | \ + sed -e "s,^\./,$i${RELEASE}:," +done | sort | /usr/libexec/locate.mklocatedb > $tardir/src${RELEASE}.db + exit 0 |