The following reply was made to PR conf/160225; it has been noted by GNATS.
From: =?ISO-2022-JP?B?GyRCMCRJdDkoTEAbKEI=?= <[email protected]> To: [email protected], [email protected] Cc: Subject: Re: conf/160225: [periodic] /etc/periodic/weekly/310.locate doesn't see /etc/locate.rc. Date: Sun, 4 Sep 2011 00:32:19 +0900 Hello, all. Followings works fine for me. Regards, --- /usr/src/etc/periodic/weekly/310.locate 2011-02-26 19:30:50.000000000 +0900 +++ /etc/periodic/weekly/310.locate 2011-09-03 16:37:29.000000000 +0900 @@ -16,7 +16,12 @@ echo "" echo "Rebuilding locate database:" - locdb=/var/db/locate.database + . /etc/locate.rc + if [ 'x' = "x$FCODES" ]; then + locdb=/var/db/locate.database + else + locdb="$FCODES" + fi touch $locdb && rc=0 || rc=3 chown nobody $locdb || rc=3 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
