diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-07-09 16:01:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-07-09 16:01:18 +0000 |
commit | 85dc9220481cbb9169d6fe77a0930aede9757077 (patch) | |
tree | 6d8290ce8dd2e17a70117091896bced33546107e /distrib/sets/maketars | |
parent | 6e865c72bd762d6f7cb5e8301ae15f26d78b2edc (diff) |
generate a locatedb while making release.
input and okay deraadt@
Diffstat (limited to 'distrib/sets/maketars')
-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 |