From owner-freebsd-current Sat Sep 12 08:15:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09754 for freebsd-current-outgoing; Sat, 12 Sep 1998 08:15:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dns.webwizard.net.mx (mexcom.net.mx [207.249.162.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09748 for ; Sat, 12 Sep 1998 08:15:09 -0700 (PDT) (envelope-from eculp@webwizard.org.mx) Received: from webwizard.org.mx (mexcom.net.mx [207.249.162.140]) by dns.webwizard.net.mx (8.8.8/8.8.7) with ESMTP id KAA02198; Sat, 12 Sep 1998 10:12:32 -0500 (CDT) Message-ID: <35FA8F60.25F651F@webwizard.org.mx> Date: Sat, 12 Sep 1998 10:12:32 -0500 From: Edwin Culp X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Cyrus Rahman CC: freebsd-current@FreeBSD.ORG Subject: Re: updatedb ? References: <199809121409.KAA26936@photox.jcmax.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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