Rev 408 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 408 | Rev 414 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | SOURCE="$1" |
54 | SOURCE="$1" |
55 | fi
|
55 | fi
|
56 | 56 | ||
57 | if [ -n "$clean" ] |
57 | if [ -n "$clean" ] |
58 | then
|
58 | then
|
59 | find -P "$DESTINATION" -maxdepth 1 -type l -exec rm --verbose '{}' \; |
59 | find -P "$DESTINATION" -maxdepth 1 -type l -print0 | xargs -0 rm --verbose ; |
60 | fi
|
60 | fi
|
61 | 61 | ||
62 | IFS=$'\n' |
62 | IFS=$'\n' |
63 | unset list
|
63 | unset list
|
64 | list=($(find "$SOURCE" -maxdepth 3 $OPTIONS -type f -iname "*.fp")) |
64 | list=($(find "$SOURCE" -maxdepth 3 $OPTIONS -type f -iname "*.fp")) |