view src/which.sh @ 13412:58a1104c343e v8.0.1580

patch 8.0.1580: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused commit https://github.com/vim/vim/commit/946acdac5b4e334f816e78f7876bde9d97b3d96a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 6 15:06:19 2018 +0100 patch 8.0.1580: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused Problem: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused. Solution: Delete them.
author Christian Brabandt <cb@256bit.org>
date Tue, 06 Mar 2018 15:15:06 +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