summaryrefslogtreecommitdiff
path: root/distrib/sets/maketars
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sets/maketars')
-rw-r--r--distrib/sets/maketars8
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