Mercurial > vim
view src/which.sh @ 23243:0804cb073097 v8.2.2167
patch 8.2.2167: Vim9: assign test fails
Commit: https://github.com/vim/vim/commit/d88dc4d4e950d937b44c523b9965d485f3fae4be
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 20 14:49:42 2020 +0100
patch 8.2.2167: Vim9: assign test fails
Problem: Vim9: assign test fails. (Elimar Riesebieter)
Solution: Adjust the test for dict assignment.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Dec 2020 15: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