freebsd-ports/databases/dbtool/files/patch-samples_locate_updatedb
Edwin Groothuis 293e656167 databases/dbtool: upgrading to 1.6 and fixing on -CURRENT.
PR:		ports/50213
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-03-30 03:40:04 +00:00

16 lines
408 B
Text

--- samples/locate/updatedb.orig Sat Apr 20 17:14:18 2002
+++ samples/locate/updatedb Sun Mar 23 12:24:47 2003
@@ -11,10 +11,10 @@
# $Id: updatedb,v 1.2 2001/06/26 23:00:02 scip Exp $
#
-dbtool="/usr/bin/dbtool";
+dbtool="%%PREFIX%%/bin/dbtool";
find="/usr/bin/find";
-db="/var/local/locate.db";
-egrep="/bin/egrep";
+db="/var/db/locate.db";
+egrep="/usr/bin/egrep";
cp="/bin/cp"
$cp /dev/null $db;