Mercurial > vim
view src/which.sh @ 31630:5400eba7c3f3 v9.0.1147
patch 9.0.1147: cannot access a class member in a compiled function
Commit: https://github.com/vim/vim/commit/3259ff3b3bd152d61c1cef7901023034c0d655a3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 4 18:54:09 2023 +0000
patch 9.0.1147: cannot access a class member in a compiled function
Problem: Cannot access a class member in a compiled function.
Solution: Implement looking up a class member.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Jan 2023 20:00: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