ENH: retain backup copies when patching files

- allows the user to inspect what has been patched.
- also use fuzzy patching (ignore whitespace) for a bit more robustness
This commit is contained in:
mark
2016-12-13 17:23:19 +01:00
parent 852e88b495
commit 4a71fbb426

View File

@ -325,7 +325,7 @@ applyPatch()
else
echo "apply patch for $pkg"
touch "$sentinel"
patch -p1 < $patch 2>&1 | tee $sentinel
patch -b -l -p1 < $patch 2>&1 | tee $sentinel
fi
)
else