view src/which.sh @ 13377:1ffba37fd222 v8.0.1562

patch 8.0.1562: the terminal debugger can't set a breakpoint with the mouse commit https://github.com/vim/vim/commit/71137fed4d77e985d49ca32c79f030512767b8ce Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 3 20:47:21 2018 +0100 patch 8.0.1562: the terminal debugger can't set a breakpoint with the mouse Problem: The terminal debugger can't set a breakpoint with the mouse. Solution: Add popup menu entries.
author Christian Brabandt <cb@256bit.org>
date Sat, 03 Mar 2018 21:00:05 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#! /bin/sh
#
# which.sh -- find where an executable is located.  It's here because the
# "which" command is not supported everywhere.  Used by Makefile.

IFS=":"
for ac_dir in $PATH; do
	if test -f "$ac_dir/$1"; then
		echo "$ac_dir/$1"
		break
	fi
done