Mercurial > vim
view src/which.sh @ 13094:72366f4e3264 v8.0.1422
patch 8.0.1422: no fallback to underline when undercurl is not set
commit https://github.com/vim/vim/commit/45a0000d5c4a5ea934d5a16a2ab5bbcf307623ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 22 21:12:34 2017 +0100
patch 8.0.1422: no fallback to underline when undercurl is not set
Problem: No fallback to underline when undercurl is not set. (Ben Jackson)
Solution: Check for the value to be empty instead of NULL. (closes https://github.com/vim/vim/issues/2424)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 22 Dec 2017 21:15:06 +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