Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 1998 10:09:45 -0400 (EDT)
From:      Cyrus Rahman <cr@photox.jcmax.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: updatedb ?
Message-ID:  <199809121409.KAA26936@photox.jcmax.com>

next in thread | raw e-mail | index | archive | help
> /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: 


: ${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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809121409.KAA26936>