diff options
Diffstat (limited to 'usr.bin/locate')
-rw-r--r-- | usr.bin/locate/locate/concatdb.sh | 6 | ||||
-rw-r--r-- | usr.bin/locate/locate/locate.rc | 4 | ||||
-rw-r--r-- | usr.bin/locate/locate/mklocatedb.sh | 6 | ||||
-rw-r--r-- | usr.bin/locate/locate/updatedb.sh | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/locate/locate/concatdb.sh b/usr.bin/locate/locate/concatdb.sh index 66f2cfb..86251a3 100644 --- a/usr.bin/locate/locate/concatdb.sh +++ b/usr.bin/locate/locate/concatdb.sh @@ -30,7 +30,7 @@ # # Sequence of databases is important. # -# $Id: concatdb.sh,v 1.6 1997/12/13 18:18:07 sef Exp $ +# $Id: concatdb.sh,v 1.7 1998/03/08 15:28:32 wosch Exp $ # The directory containing locate subprograms : ${LIBEXECDIR:=/usr/libexec}; export LIBEXECDIR @@ -39,8 +39,8 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; export PATH umask 077 # protect temp files -: ${TMPDIR:=/tmp}; export TMPDIR; -test -d "$TMPDIR" || TMPDIR=/tmp +: ${TMPDIR:=/var/tmp}; export TMPDIR; +test -d "$TMPDIR" || TMPDIR=/var/tmp # utilities to built locate database : ${bigram:=locate.bigram} diff --git a/usr.bin/locate/locate/locate.rc b/usr.bin/locate/locate/locate.rc index 2d36990..28718c0 100644 --- a/usr.bin/locate/locate/locate.rc +++ b/usr.bin/locate/locate/locate.rc @@ -1,13 +1,13 @@ # # /etc/locate.rc - command script for updatedb(8) # -# $Id: locate.rc,v 1.4 1997/02/22 19:55:48 peter Exp $ +# $Id: locate.rc,v 1.5 1998/01/01 02:34:14 alex Exp $ # # All commented values are the defaults # # temp directory -#TMPDIR="/tmp" +#TMPDIR="/var/tmp" # the actual database #FCODES="/var/db/locate.database" diff --git a/usr.bin/locate/locate/mklocatedb.sh b/usr.bin/locate/locate/mklocatedb.sh index 30839a2..1268a06 100644 --- a/usr.bin/locate/locate/mklocatedb.sh +++ b/usr.bin/locate/locate/mklocatedb.sh @@ -28,7 +28,7 @@ # # usage: mklocatedb [-presort] < filelist > database # -# $Id: mklocatedb.sh,v 1.5 1997/12/13 18:18:10 sef Exp $ +# $Id: mklocatedb.sh,v 1.6 1998/03/08 15:28:35 wosch Exp $ # The directory containing locate subprograms @@ -38,8 +38,8 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; export PATH umask 077 # protect temp files -: ${TMPDIR:=/tmp}; export TMPDIR -test -d "$TMPDIR" || TMPDIR=/tmp +: ${TMPDIR:=/var/tmp}; export TMPDIR +test -d "$TMPDIR" || TMPDIR=/var/tmp # utilities to built locate database : ${bigram:=locate.bigram} diff --git a/usr.bin/locate/locate/updatedb.sh b/usr.bin/locate/locate/updatedb.sh index 79d5538..38848d7 100644 --- a/usr.bin/locate/locate/updatedb.sh +++ b/usr.bin/locate/locate/updatedb.sh @@ -26,7 +26,7 @@ # # updatedb - update locate database for local mounted filesystems # -# $Id: updatedb.sh,v 1.8 1997/12/13 18:18:12 sef Exp $ +# $Id: updatedb.sh,v 1.9 1998/03/08 15:28:37 wosch Exp $ LOCATE_CONFIG="/etc/locate.rc" if [ -f "$LOCATE_CONFIG" -a -r "$LOCATE_CONFIG" ]; then @@ -35,8 +35,8 @@ fi # The directory containing locate subprograms : ${LIBEXECDIR:=/usr/libexec}; export LIBEXECDIR -: ${TMPDIR:=/tmp}; export TMPDIR -test -d "$TMPDIR" || TMPDIR=/tmp +: ${TMPDIR:=/var/tmp}; export TMPDIR +test -d "$TMPDIR" || TMPDIR=/var/tmp PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; export PATH |