which -s is mac only
This commit is contained in:
parent
7d046574cb
commit
74ef72b150
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ RUN_VIM="vim --clean --not-a-term"
|
|||
RUN_TEST="${RUN_VIM} -S lib/run_test.vim"
|
||||
|
||||
if [ -z "$VIMSPECTOR_MIMODE" ]; then
|
||||
if which -s lldb; then
|
||||
if which lldb >/dev/null 2>&1; then
|
||||
export VIMSPECTOR_MIMODE=lldb
|
||||
elif which -s gdb; then
|
||||
elif which gdb >/dev/null 2>&1; then
|
||||
export VIMSPECTOR_MIMODE=gdb
|
||||
else
|
||||
echo "Couldn't guess VIMSPECTOR_MIMODE. Need lldb or gdb in path"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue