Mercurial > vim
view src/which.sh @ 31948:c8cfdbe7b7f2 v9.0.1306
patch 9.0.1306: no regression test for solved problem of #11959
Commit: https://github.com/vim/vim/commit/5ceb8157bc4608eeff4b7453da31ebe65f08a862
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 12 18:11:21 2023 +0000
patch 9.0.1306: no regression test for solved problem of https://github.com/vim/vim/issues/11959
Problem: No regression test for solved problem of https://github.com/vim/vim/issues/11959.
Solution: Add a test, also with 'list' set. (closes https://github.com/vim/vim/issues/11959)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Feb 2023 19:15:05 +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