Date: Sat, 12 Sep 1998 10:12:32 -0500 From: Edwin Culp <eculp@webwizard.org.mx> To: Cyrus Rahman <cr@photox.jcmax.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: updatedb ? Message-ID: <35FA8F60.25F651F@webwizard.org.mx> References: <199809121409.KAA26936@photox.jcmax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Cyrus Rahman wrote:
> > /etc/periodic/weekly/310.locate dies with:
> >
> > Rebuilding locate database:
> > updatedb: locate database /tmp/locateW22380/_updatedb22378 is empty
>
> Perhaps due to recent changes in /bin/sh, in locate.updatedb:
I changed the #!/bin/sh to #!/usr/local/bin/ksh and it seems to work fine,
although I still don't understand why the problem with sh.
>
>
>
>
> : ${SEARCHPATHS:="/"} # directories to be put in the database
> ...
> $find $SEARCHPATHS [options, etc]
>
> The above code now sets $SEARCHPATHS to the two byte value '210 /' instead of
> the single character '/'. This confuses find.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35FA8F60.25F651F>
