view src/which.sh @ 14252:b557af8dedab v8.1.0142

patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys commit https://github.com/vim/vim/commit/e6882bdc44efbcea0af647f5759a8f48cf29e27c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 3 17:16:59 2018 +0200 patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys Problem: Xterm and vt320 builtin termcap missing keypad keys. Solution: Add the escape sequences. (Kouichi Iwamoto, closes https://github.com/vim/vim/issues/2973)
author Christian Brabandt <cb@256bit.org>
date Tue, 03 Jul 2018 17:30:08 +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