view src/which.sh @ 30801:4fbd9086f149 v9.0.0735

patch 9.0.0735: breakindent and scrolloff tests fail Commit: https://github.com/vim/vim/commit/e42033e735febb163fdc57aadbc11787ca611ba9 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 12 21:32:42 2022 +0100 patch 9.0.0735: breakindent and scrolloff tests fail Problem: Breakindent and scrolloff tests fail. Solution: Temporarily skip the assertions.
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Oct 2022 22:45:03 +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