diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2019-03-18 14:11:47 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2019-03-18 14:30:44 -0400 |
commit | 3f3d1c0437fd3dfe1cb11fc622d317daa004ea2a (patch) | |
tree | 287abd6768034c6adad72553ef523cfd36f89ab6 /libs/project | |
parent | 8d50c4b231ebc02f0f1b9586097a9e9a22cf906f (diff) | |
download | librebootfr-3f3d1c0437fd3dfe1cb11fc622d317daa004ea2a.tar.gz librebootfr-3f3d1c0437fd3dfe1cb11fc622d317daa004ea2a.zip |
Rename and refactor diff_patch_file()
The previous function, diff_patch_file, was more error-prone and
fragile and did not take into consideration patching of more than one
file at a time(!).
Diffstat (limited to 'libs/project')
-rwxr-xr-x | libs/project | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/project b/libs/project index f90b368e..70a76d71 100755 --- a/libs/project +++ b/libs/project @@ -531,7 +531,7 @@ project_sources_prepare_patch() { local patches_path="$project_path/$PATCHES" for patch in "$patches_path"/[!.]*.@(patch|diff); do - diff_patch_file "$sources_path" "$patch" + diff_patch "$sources_path" "$patch" done } |