view src/which.sh @ 13416:e534e8b21fd7 v8.0.1582

patch 8.0.1582: in the MS-Windows console mouse movement is not used commit https://github.com/vim/vim/commit/157d813be41c122e210b0eb1cd1e862fbddbf665 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 6 17:09:20 2018 +0100 patch 8.0.1582: in the MS-Windows console mouse movement is not used Problem: In the MS-Windows console mouse movement is not used. Solution: Pass mouse movement events when useful.
author Christian Brabandt <cb@256bit.org>
date Tue, 06 Mar 2018 17:15:06 +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