Mercurial > vim
view src/which.sh @ 18862:4a3c9d39fc31 v8.1.2417
patch 8.1.2417: MinGW/Cygwin build does not clean up all files
Commit: https://github.com/vim/vim/commit/1e46705a83ef2bbabd4a53ec40108558b73ed54f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 10 22:48:15 2019 +0100
patch 8.1.2417: MinGW/Cygwin build does not clean up all files
Problem: MinGW/Cygwin build does not clean up all files.
Solution: Delete *.map files. (Michael Soyka)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Dec 2019 23:00:04 +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