This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
BUG: updatedb broken? "/usr/bin/find: . changed during execution"
- From: Alexander Enchevich <Alexander dot Enchevich at creo dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 2 Apr 2003 10:41:48 -0800
- Subject: BUG: updatedb broken? "/usr/bin/find: . changed during execution"
the updatedb script terminates with this error:
/usr/bin/find: . changed during execution
this is happening somewhere here (around line 115):
# FIXME figure out how to sort null-terminated strings, and use -print0.
{
if test -n "$SEARCHPATHS"; then
if [ "$LOCALUSER" != "" ]; then
su $LOCALUSER -c \
"$find $SEARCHPATHS \
\\( $prunefs_exp \
-type d -regex '$PRUNEREGEX' \\) -prune -o -print"
else
$find $SEARCHPATHS \
\( $prunefs_exp \
-type d -regex "$PRUNEREGEX" \) -prune -o -print
fi
fi
--------------------------
I thought its because there is no /usr/bin/find (it's in /bin), so I tried
to modify the updatedb script to look for it in /bin but that didn't help...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/