Mercurial > vim
view src/which.sh @ 24365:f2bd92589670 v8.2.2723
patch 8.2.2723: assignment test fails
Commit: https://github.com/vim/vim/commit/58fb7c39a04aabfa399ae4f2142ee0728bc22483
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 5 20:59:41 2021 +0200
patch 8.2.2723: assignment test fails
Problem: Assignment test fails.
Solution: Adjust error number.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Apr 2021 21:00:05 +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