Mercurial > vim
view src/which.sh @ 18086:9d6832a5426f v8.1.2038
patch 8.1.2038: has('vimscript-4') is always 0
Commit: https://github.com/vim/vim/commit/af9143833865a2d8311e57313023271720442f90
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 15 17:49:10 2019 +0200
patch 8.1.2038: has('vimscript-4') is always 0
Problem: has('vimscript-4') is always 0.
Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino,
closes #4941)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Sep 2019 18:00:03 +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