Changeset 701

Show
Ignore:
Timestamp:
09/24/06 19:56:43 (2 years ago)
Author:
tg
Message:

diff -I gets an extended regular expression, but grep uses basic regexen
cf. http://www.mirbsd.org/man7/re_format.htm

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/scripts/update-patches

    r410 r701  
    9999                        # Multiple files in the diff? 
    100100                        if [ $(grep -c "^--- $D_CMP" "$i") -gt 1 -o \ 
    101                             $(grep -c "^\+\+\+ $D_CMP" "$i") -gt 1 ]; then 
     101                            $(grep -c "^+++ $D_CMP" "$i") -gt 1 ]; then 
    102102                                echo "Cannot process, $i contains patches" >&2 
    103103                                echo "to multiple files! Aborting." >&2