Mercurial > vim
view src/which.sh @ 28702:99729fe344f7 v8.2.4875
patch 8.2.4875: MS-Windows: some .exe files are not recognized
Commit: https://github.com/vim/vim/commit/40fd7e665260c9227d6d90b17a301a1bc47f7f5b
Author: LemonBoy <thatlemon@gmail.com>
Date: Thu May 5 20:18:16 2022 +0100
patch 8.2.4875: MS-Windows: some .exe files are not recognized
Problem: MS-Windows: some .exe files are not recognized.
Solution: Parse APPEXECLINK junctions. (closes https://github.com/vim/vim/issues/10302)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 May 2022 21:30:03 +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