Mercurial > vim
view src/which.sh @ 18681:a13370d92f9d v8.1.2332
patch 8.1.2332: missing file in refactoring
Commit: https://github.com/vim/vim/commit/556ae8ea28b4e3e9fc47ad130795009a3080146e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 22:27:22 2019 +0100
patch 8.1.2332: missing file in refactoring
Problem: Missing file in refactoring.
Solution: Update missing file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 22:30:03 +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