view src/which.sh @ 32431:213915d65157 v9.0.1547

patch 9.0.1547: Coveralls workflow on CI is commented out Commit: https://github.com/vim/vim/commit/12eb0f4ec5a9d9899d09691f944e4fbfdf4318fd Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Fri May 12 18:47:28 2023 +0100 patch 9.0.1547: Coveralls workflow on CI is commented out Problem: Coveralls workflow on CI is commented out. Solution: Remove the Coveralls workflow. (closes https://github.com/vim/vim/issues/12389)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 May 2023 20:00:04 +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