Mercurial > vim
view src/which.sh @ 10134:95e9be4bc490 v7.4.2338
commit https://github.com/vim/vim/commit/7947312871e7d01cdba058199904c212ec32f1c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 6 21:32:11 2016 +0200
patch 7.4.2338
Problem: Can't build with small features. (John Marriott)
Solution: Nearly always define FEAT_TAG_BINS.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 06 Sep 2016 21:45:06 +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