view src/which.sh @ 15233:5e7515dbf871 v8.1.0626

patch 8.1.0626: MS-Windows: no resize to fit parent when using --windowid commit https://github.com/vim/vim/commit/4814ccbdf0e99e2d33e1ac926c59f677f5c2afe2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 22 18:44:53 2018 +0100 patch 8.1.0626: MS-Windows: no resize to fit parent when using --windowid Problem: MS-Windows: no resize to fit parent when using --windowid. Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis Loukas, closes #3616)
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Dec 2018 18:45: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