Mercurial > vim
view src/which.sh @ 19059:9b7d0af6e33a v8.2.0090
patch 8.2.0090: generated files show up in git status
Commit: https://github.com/vim/vim/commit/b376ace1aeaa7614debc725487d75c8f756dd773
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 5 22:10:31 2020 +0100
patch 8.2.0090: generated files show up in git status
Problem: Generated files show up in git status.
Solution: Ignore a few more files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jan 2020 22:15:35 +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