view src/which.sh @ 21271:51ff7e5abdda v8.2.1186

patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click Commit: https://github.com/vim/vim/commit/13c046316b2e651871701ed81e2ba4763b19b67d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 12 13:47:42 2020 +0200 patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click Problem: With SGR mouse codes balloon doesn't show up after click. Solution: Add the MOUSE_RELEASE bits to mouse_code.
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Jul 2020 14:00:04 +0200
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