freebsd-ports/databases/dbtool/files/patch-samples_locate_locate
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

17 lines
406 B
Plaintext

--- samples/locate/locate.orig Sat Apr 20 17:14:18 2002
+++ samples/locate/locate Sun Mar 23 12:25:01 2003
@@ -12,10 +12,10 @@
#
# $Id: locate,v 1.3 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";
-sort="/bin/sort";
+db="/var/db/locate.db";
+sort="/usr/bin/sort";
regex=$1;
if [ "x$regex" != "x" ]; then