mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user