Mercurial > vim
view src/which.sh @ 23934:f9a4ede76237 v8.2.2509
patch 8.2.2509: tests fail on s390 build
Commit: https://github.com/vim/vim/commit/8d4be8901139f698c7919fd697d82abb1ce41911
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 13 18:33:02 2021 +0100
patch 8.2.2509: tests fail on s390 build
Problem: Tests fail on s390 build.
Solution: Initialize trycmd_T.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Feb 2021 18:45: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