Mercurial > vim
view src/which.sh @ 32625:dce7b700c746 v9.0.1644
patch 9.0.1644: not all filetype file name matches are tested
Commit: https://github.com/vim/vim/commit/bd087ae8f07f026bbd179911830027ff92f42c01
Author: smjonas <jonas.strittmatter@gmx.de>
Date: Thu Jun 22 12:41:19 2023 +0100
patch 9.0.1644: not all filetype file name matches are tested
Problem: Not all filetype file name matches are tested.
Solution: Add more file names to test with. (Jonas Strittmatter,
closes #12569)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Jun 2023 13:45:03 +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