view src/which.sh @ 27587:298b32b544ae v8.2.4320

patch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong Commit: https://github.com/vim/vim/commit/28f1a51bde36e2770dd54c9e2ae69a26cafa5a64 Author: qsmodo <75080827+qsmodo@users.noreply.github.com> Date: Mon Feb 7 15:57:50 2022 +0000 patch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong Problem: Athena and Motif: when maximized scrollbar position is wrong. Solution: Implement the scrollbar padding functions. (closes https://github.com/vim/vim/issues/9712)
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Feb 2022 17: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