Mercurial > vim
view src/which.sh @ 26889:4508f62e5318 v8.2.3973
patch 8.2.3973: tiny build fails
Commit: https://github.com/vim/vim/commit/0f7a5e758c5d8be2d8f1ab4a145d1636a36d18b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 16:31:48 2022 +0000
patch 8.2.3973: tiny build fails
Problem: Tiny build fails.
Solution: Adjust #ifdefs
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:45:02 +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