view src/which.sh @ 18673:f1658662ea84 v8.1.2328

patch 8.1.2328: a few hangul input pieces remain Commit: https://github.com/vim/vim/commit/bd3bc0314e27cac061575930144ce5fadc26c22e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 21 17:34:51 2019 +0100 patch 8.1.2328: a few hangul input pieces remain Problem: A few hangul input pieces remain. Solution: Update VMS makefile.
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Nov 2019 17:45:04 +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