Mercurial > vim
view src/which.sh @ 26443:fee1e854e183 v8.2.3752
patch 8.2.3752: build error when using Photon GUI
Commit: https://github.com/vim/vim/commit/8603be338ac810446f23c092f21bc6082f787519
Author: h-east <h.east.727@gmail.com>
Date: Mon Dec 6 11:24:09 2021 +0000
patch 8.2.3752: build error when using Photon GUI
Problem: Build error when using Photon GUI.
Solution: Adjust #ifdef. (closes https://github.com/vim/vim/issues/9288)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 06 Dec 2021 12:30:05 +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