Changeset aee909e in freewrt for scripts


Ignore:
Timestamp:
Jul 25, 2006, 3:09:10 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
86ea442
Parents:
24dce9d
Message:

allow automatic copy of a hierarchy rooted in extra/
into ${WRKSRC} (and prevent these from being included
in patches)

agreed wbx@ on the phone

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/update-patches

    r24dce9d raee909e  
    5252
    5353TRANSFORM='sed s/[.+]/\\\\&/g'
     54PATCHDIR=$CURDIR/patches
     55EXTRADIR=$CURDIR/extra
    5456
    5557mkdir -p $PATCHDIR
     
    6870fi
    6971ORGDIST=${D_BASE}/${D_SUB}.orig
     72
     73[[ -d $EXTRADIR ]] && \
     74    (cd $EXTRADIR; find . -print0) | \
     75    (cd $WRKDIST; pax -rw -0 -d $ORGDIST/) >/dev/null 2>&1
    7076
    7177DIFF_FLAGS="-adu -I \"^--- $(echo $D_SUB.orig/ | $TRANSFORM)@@  .*\""
Note: See TracChangeset for help on using the changeset viewer.