Mercurial > vim
view src/which.sh @ 17474:f8c197962c1e v8.1.1735
patch 8.1.1735: can't build with tiny features
commit https://github.com/vim/vim/commit/c61a48d25995e5ee2a3813f64c531b91bb23e9b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 22 23:16:33 2019 +0200
patch 8.1.1735: can't build with tiny features
Problem: Can't build with tiny features.
Solution: Add missing #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Jul 2019 23:30:05 +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