Skip to content

Commit a0d7a21

Browse files
committed
fixscript
1 parent b541f6e commit a0d7a21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ if [ "x$UID" == "x0" ] && [ "x$FORCE" != "xy" ]; then
1818
fi
1919

2020
if [ "x$VIMEXE" == "x" ]; then
21-
if which vim; then VIM=vim
22-
elif which nvim; then VIM=nvim
21+
if which vim; then VIMEXE=vim
22+
elif which nvim; then VIMEXE=nvim
2323
elif [ "x$FORCE" != "xy" ]; then
2424
echo -n '-- Please specify vim executable path: '
25-
read VIM
25+
read VIMEXE
2626
if ! "$VIMEXE" --version; then
2727
echo "ERROR: not a valid vim executable: $VIMEXE"
2828
exit 1

0 commit comments

Comments
 (0)