List Info

Thread: 4.4.0 updatedb NETPATHS logic?




4.4.0 updatedb NETPATHS logic?
country flaguser name
United States
2008-03-24 12:14:23
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



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )