diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-01 13:18:29 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-01 13:21:33 -0500 |
commit | 5db836bbca66a5684fccc99efa0e6e9607e6c20b (patch) | |
tree | 43ca26c2a24b0f5e7533ed332f3a47b87695ea6b /scripts/vim-patch.sh | |
parent | 4b398413e46d604ec03e30875a46506988cdbbc0 (diff) | |
download | rneovim-5db836bbca66a5684fccc99efa0e6e9607e6c20b.tar.gz rneovim-5db836bbca66a5684fccc99efa0e6e9607e6c20b.tar.bz2 rneovim-5db836bbca66a5684fccc99efa0e6e9607e6c20b.zip |
fixup! eval.c: factor out eval/funcs.c #11828
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 4bd490b8e6..ed1726b6e1 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -211,6 +211,11 @@ preprocess_patch() { LC_ALL=C sed -e 's/\( [ab]\/src\)/\1\/nvim/g' \ "$file" > "$file".tmp && mv "$file".tmp "$file" + # Rename evalfunc.c to eval/funcs.c + LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/evalfunc\.c/\1\/eval\/funcs\.c/g' \ + "$file" > "$file".tmp && mv "$file".tmp "$file" + + # Rename session.c to ex_session.c LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/session\(\.[ch]\)/\1\/ex_session\2/g' \ "$file" > "$file".tmp && mv "$file".tmp "$file" |