view src/which.sh @ 32464:f2138180c6f0

patch 9.0.1563: GTK3: window manager resize hints are incomplete Commit: https://github.com/vim/vim/commit/c0da540466c89e388e7a15a12bab2f9fc42d9671 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 16 22:15:51 2023 +0100 patch 9.0.1563: GTK3: window manager resize hints are incomplete Problem: GTK3: window manager resize hints are incomplete. Solution: Use NULL for second argument of gtk_window_set_geometry_hints(). (Kenny Stauffer closes #11055)
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 May 2023 00:00:04 +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