File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ script:
36
36
- grep -q -- "-DDYNAMIC_PYTHON_DLL=\\\\\"$vi_cv_dll_name_python\\\\\"" src/auto/config.mk
37
37
- grep -q -- "-DDYNAMIC_PYTHON3_DLL=\\\\\"$vi_cv_dll_name_python3\\\\\"" src/auto/config.mk
38
38
- make -j$NPROC
39
- - BINPATH=src/MacVim/build/Release/MacVim.app/Contents/MacOS
40
- - sed -e 's/^# VIM_APP_DIR=.*/VIM_APP_DIR=`dirname "$0 "`\/..\/..\/../' src/MacVim/mvim > $BINPATH/mvim
39
+ - BINPATH=src/MacVim/build/Release/MacVim.app/Contents/bin
40
+ - sed -e 's/^# VIM_APP_DIR=.*/if [ -L $0 ]; then VIM_APP_DIR=`dirname "$(readlink $0) "`\/..\/..\/..; else VIM_APP_DIR=`dirname "$0"`\/..\/..\/..; fi /' src/MacVim/mvim > $BINPATH/mvim
41
41
- chmod 755 $BINPATH/mvim
42
- - (cd $BINPATH; for f in vimdiff view gvim gvimdiff gview mvimdiff mview; do ln -s mvim $f; done)
42
+ - (cd $BINPATH; for f in vim vimdiff view gvim gvimdiff gview mvimdiff mview; do ln -s mvim $f; done)
43
43
- rm -f result; $VIMCMD -g -f -c "redir>result" -c "lua print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
44
44
- rm -f result; $VIMCMD -g -f -c "redir>result" -c "perl VIM::Msg(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
45
45
- rm -f result; $VIMCMD -g -f -c "redir>result" -c "py import sys; print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
You can’t perform that action at this time.
0 commit comments