Mercurial > vim
view src/which.sh @ 27861:6c87f679ed29 v8.2.4456
patch 8.2.4456: terminal test may fail on some machines
Commit: https://github.com/vim/vim/commit/dd2dfb3cb00d47d2e8248c4e9d2cdf51e1574b79
Author: Zdenek Dohnal <zdohnal@redhat.com>
Date: Wed Feb 23 14:25:17 2022 +0000
patch 8.2.4456: terminal test may fail on some machines
Problem: Terminal test may fail on some machines.
Solution: Increase wait time. (Zdenek Dohnal, closes https://github.com/vim/vim/issues/9834)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Feb 2022 15:30: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