view src/which.sh @ 24850:f8906bd5b277 v8.2.2963

patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visible Commit: https://github.com/vim/vim/commit/445f11d5bcfddfa194ebd12b029228c7e957f94c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 8 20:13:31 2021 +0200 patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visible Problem: GUI: mouse move may start Visual mode with a popup visible. Solution: Add special code for mouse move. (closes https://github.com/vim/vim/issues/8318)
author Bram Moolenaar <Bram@vim.org>
date Tue, 08 Jun 2021 20:15:05 +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