view src/which.sh @ 31093:004aee2845d2 v9.0.0881

patch 9.0.0881: cannot get the currently showing mouse shape Commit: https://github.com/vim/vim/commit/24dc19cdb2ce7cda2156d3b2eca6aee552b097dc Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 14 19:49:15 2022 +0000 patch 9.0.0881: cannot get the currently showing mouse shape Problem: Cannot get the currently showing mouse shape. Solution: Add getmouseshape().
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Nov 2022 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