view src/which.sh @ 22730:28001013f467 v8.2.1913

patch 8.2.1913: GTK GUI: rounding for the cell height is too strict Commit: https://github.com/vim/vim/commit/70cf45810cb9be5bd17074f7fb4ee238f2c4d57b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 27 20:43:26 2020 +0100 patch 8.2.1913: GTK GUI: rounding for the cell height is too strict Problem: GTK GUI: rounding for the cell height is too strict. Solution: Round up above 15/16 of a pixel. (closes https://github.com/vim/vim/issues/7203)
author Bram Moolenaar <Bram@vim.org>
date Tue, 27 Oct 2020 20:45:03 +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