view src/which.sh @ 19095:5cd0986ab02e v8.2.0108

patch 8.2.0108: when sign text is changed a manual redraw is needed Commit: https://github.com/vim/vim/commit/bf0acff012c2f75563c20241f1a5478534fe2c7a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 9 21:01:59 2020 +0100 patch 8.2.0108: when sign text is changed a manual redraw is needed Problem: When sign text is changed a manual redraw is needed. (Pontus Lietzler) Solution: Redraw automatically. (closes #5455)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Jan 2020 21:15:03 +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