Mercurial > vim
view src/which.sh @ 23164:99ef85ff1af4
Update runtime files.
Commit: https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 10 21:11:27 2020 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Dec 2020 21:15:05 +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