view src/which.sh @ 17446:dcc4120f8412 v8.1.1721

patch 8.1.1721: build failure with normal features without netbeans interface commit https://github.com/vim/vim/commit/63187f79327e30cdce7c89d35121b79452d80cc3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 20 19:14:49 2019 +0200 patch 8.1.1721: build failure with normal features without netbeans interface Problem: Build failure with normal features without netbeans interface. Solution: Enable signs when using the text properties feature.
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Jul 2019 19:15: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