Mercurial > vim
view src/which.sh @ 19646:847a300aa244
Update runtime files
Commit: https://github.com/vim/vim/commit/b17893aa940dc7d45421f875f5d90855880aad27
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 14 08:19:51 2020 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Mar 2020 08:30:08 +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