Mercurial > vim
view src/which.sh @ 18191:0f8a34c996eb v8.1.2090
patch 8.1.2090: not clear why channel log file ends
Commit: https://github.com/vim/vim/commit/2e47cab715669bd0c89762217cbf77bd70cd82ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 27 23:12:45 2019 +0200
patch 8.1.2090: not clear why channel log file ends
Problem: Not clear why channel log file ends.
Solution: Add a "closing" line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Sep 2019 23:15: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