Changeset 23314


Ignore:
Timestamp:
2010-10-08T11:21:01+02:00 (7 years ago)
Author:
jow
Message:

[scripts] patch-kernel.sh: utilize --force (#7745), also use the PATCH env var and fallback to "patch" if unset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/patch-kernel.sh

    r15245 r23314  
    3838    echo "" 
    3939    echo "Applying ${i} using ${type}: "  
    40     ${uncomp} ${i} | patch -p1 -E -d ${targetdir}  
     40    ${uncomp} ${i} | ${PATCH:-patch} -f -p1 -E -d ${targetdir}  
    4141    if [ $? != 0 ] ; then 
    4242        echo "Patch failed!  Please fix $i!" 
Note: See TracChangeset for help on using the changeset viewer.