Merge pull request #5213 from blueyed/unset-cdpath-with-vim-patch

scripts/vim-patch.sh: use "set -p"
This commit is contained in:
James McCoy
2016-08-11 12:50:16 -05:00
committed by GitHub

View File

@@ -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"