Changeset 54282b2 in freewrt for scripts/update-patches


Ignore:
Timestamp:
Feb 16, 2007, 10:06:47 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
7212f6c
Parents:
2e37094
Message:

second try to fix this script updating patches it shouldn't need to
because only the patch header changed

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2020 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/update-patches

    r2e37094 r54282b2  
    6161        D_BASE=${WRKDIR1}
    6262        D_SUB=${SUBDIST}
    63 #       D_CMP=$D_SUB
    64         D_CMP='[^/]*'
     63#       D_SUBP=$D_SUB
     64        D_SUBP='[^/]*'
     65        D_CMP=$D_SUBP
    6566else
    6667        # WRKSRC == WRKDIR
    6768        D_BASE=$(dirname ${WRKDIR1})
    6869        D_SUB=$(basename ${WRKDIR1})
     70        D_SUBP=$D_SUB
    6971        D_CMP=
    7072fi
     
    8284fi
    8385
    84 DIFF_FLAGS="-adu -I \"^--- $(echo $D_SUB.orig/ | $TRANSFORM)@@  .*\""
    85 DIFF_FLAGS="$DIFF_FLAGS -I \"^\+\+\+ $(echo $D_SUB/ | $TRANSFORM)@@     .*\""
     86DIFF_FLAGS="-adu -I \"^--- $(echo $D_SUBP.orig/ | $TRANSFORM)@@ .*\""
     87DIFF_FLAGS="$DIFF_FLAGS -I \"^\+\+\+ $(echo $D_SUBP/ | $TRANSFORM)@@    .*\""
    8688
    8789for file in $(cd ${WRKDIST}; find . -type f | sed 's#^\./##'); do
Note: See TracChangeset for help on using the changeset viewer.