Mercurial > vim
view src/which.sh @ 23467:826a6406ea7b v8.2.2276
patch 8.2.2276: list of distributed files is outdated
Commit: https://github.com/vim/vim/commit/a72514945bc3edd4fc4d745004e37c5d5487c98d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 16:53:13 2021 +0100
patch 8.2.2276: list of distributed files is outdated
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Jan 2021 17:00:04 +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