bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.4.0 updatedb NETPATHS logic?


From: Karl Berry
Subject: 4.4.0 updatedb NETPATHS logic?
Date: Mon, 24 Mar 2008 12:14:23 -0500

The find command for NETPATHS in updatedb is different than the others.
For example (line breaks changed for ease of comparison):

    # : A8
    $find $NETPATHS $FINDOPTIONS 
    \( -type d -regex "$PRUNEREGEX" -prune \) 
    -o $print_option || ...

The -prune is inside the parentheses.  Compare with, say:

    # : A6
    $find $SEARCHPATHS $FINDOPTIONS 
    \( $prunefs_exp -type d -regex "$PRUNEREGEX" \) 
    -prune -o $print_option || ...

I don't actually use NETPATHS, so I'm not sure if it actually makes a
difference, I just saw it by inspection ...

karl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]