Skip to content
Snippets Groups Projects
Commit a0b2af3e authored by nbd's avatar nbd
Browse files

scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46723 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent b0f4673b
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ for i in ${patchdir}/${patchpattern} ; do
[ -d "${i}" ] && echo "Ignoring subdirectory ${i}" && continue
echo ""
echo "Applying ${i} using ${type}: "
${uncomp} ${i} | ${PATCH:-patch} -f -p1 -E -d ${targetdir}
${uncomp} ${i} | ${PATCH:-patch} -f -p1 -d ${targetdir}
if [ $? != 0 ] ; then
echo "Patch failed! Please fix $i!"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment