Mercurial > vim
view src/which.sh @ 30381:fe97616d43d2 v9.0.0526
patch 9.0.0526: MS-Windows: still some support for XP and old compilers
Commit: https://github.com/vim/vim/commit/f7c7aa3594b9f917b0b9571e1e60bef69b55244d
Author: K.Takata <kentkt@csc.jp>
Date: Wed Sep 21 10:51:13 2022 +0100
patch 9.0.0526: MS-Windows: still some support for XP and old compilers
Problem: MS-Windows: still some support for XP and old compilers.
Solution: Remove XP support and mention of old compilers. (Ken Takata,
closes #11183)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Sep 2022 12: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