Mercurial > vim
view src/which.sh @ 22894:a852e4e61887 v8.2.1994
patch 8.2.1994: MS-Windows: MinGW always does a full build
Commit: https://github.com/vim/vim/commit/c4390fe6c0d1b47b1acd373d7e8ef986412c0600
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 16 18:49:47 2020 +0100
patch 8.2.1994: MS-Windows: MinGW always does a full build
Problem: MS-Windows: MinGW always does a full build.
Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes https://github.com/vim/vim/issues/7311)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Nov 2020 19:00:03 +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