view src/which.sh @ 33858:af382e6903ac

CI: disable the test_terminal_resize() test for GH CI in GUI (#13603) Commit: https://github.com/vim/vim/commit/926c3f45a20c9c9667466f69d8c33ef8acb354ec Author: Christian Brabandt <cb@256bit.org> Date: Fri Dec 1 16:59:32 2023 +0000 CI: disable the test_terminal_resize() test for GH CI in GUI (https://github.com/vim/vim/issues/13603) fixes: https://github.com/vim/vim/issues/13566 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 01 Dec 2023 18:00:05 +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