mirror of
https://github.com/neovim/neovim.git
synced 2026-04-27 01:34:16 +00:00
Merge pull request #5213 from blueyed/unset-cdpath-with-vim-patch
scripts/vim-patch.sh: use "set -p"
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
set -e
|
||||
set -u
|
||||
set -o pipefail
|
||||
# Use priviledged mode, which e.g. skips using CDPATH.
|
||||
set -p
|
||||
|
||||
readonly NEOVIM_SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
readonly VIM_SOURCE_DIR_DEFAULT="${NEOVIM_SOURCE_DIR}/.vim-src"
|
||||
|
||||
Reference in New Issue
Block a user