Mercurial > vim
view src/which.sh @ 19828:2dc8d3e6993e v8.2.0470
patch 8.2.0470: Test_confirm_cmd_cancel() can fail on a slow system
Commit: https://github.com/vim/vim/commit/7b1b36b1cb744e87adfbef88b7ce26c863b0594a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 28 21:48:55 2020 +0100
patch 8.2.0470: Test_confirm_cmd_cancel() can fail on a slow system
Problem: Test_confirm_cmd_cancel() can fail on a slow system.
Solution: Use WaitForAssert(). (Ozaki Kiichi, closes https://github.com/vim/vim/issues/5861)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Mar 2020 22: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