view src/which.sh @ 30976:bcda60183c77 v9.0.0823

patch 9.0.0823: mouse drag test fails Commit: https://github.com/vim/vim/commit/7a7db047dcb2336de5103e793345eb5a9d125900 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 31 23:07:11 2022 +0000 patch 9.0.0823: mouse drag test fails Problem: Mouse drag test fails. Solution: Only reset the mouse click flag when actually switching to another tab page. Disable test that keeps failing.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 11:18:53 +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