summaryrefslogtreecommitdiff
path: root/databases/dbtool/files/patch-samples_locate_locate
blob: 159506e8502f6deae3babdf0737179a29454269b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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