Commit 4a71fbb4 authored by mark's avatar mark
Browse files

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
parent 852e88b4
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment