Mercurial > vim
view src/which.sh @ 30896:87d9843b59db v9.0.0782
patch 9.0.0782: OpenVPN files are not recognized
Commit: https://github.com/vim/vim/commit/4bf67ec52e938a3edaa4f452adab42a57505f940
Author: ObserverOfTime <chronobserver@disroot.org>
Date: Mon Oct 17 15:28:47 2022 +0100
patch 9.0.0782: OpenVPN files are not recognized
Problem: OpenVPN files are not recognized.
Solution: Add patterns for OpenVPN files. (closes https://github.com/vim/vim/issues/11391)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 17 Oct 2022 16:30:04 +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