Mercurial > vim
view src/which.sh @ 32037:1171d97f415d v9.0.1350
patch 9.0.1350: CPON files are not recognized
Commit: https://github.com/vim/vim/commit/c2254764bcada43eea894eb5852a26d5ac5ca8b0
Author: Amaan Qureshi <amaanq12@gmail.com>
Date: Fri Feb 24 12:08:45 2023 +0000
patch 9.0.1350: CPON files are not recognized
Problem: CPON files are not recognized.
Solution: Add patterns for CPON files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12053)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Feb 2023 13:15: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