Mercurial > vim
view src/which.sh @ 23469:63263bd876c5 v8.2.2277
patch 8.2.2277: missing backslash
Commit: https://github.com/vim/vim/commit/9281c6cae4e1cec2c661487d761d407bad7c6ad6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 17:06:16 2021 +0100
patch 8.2.2277: missing backslash
Problem: Missing backslash.
Solution: Add backslash.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Jan 2021 17:15:03 +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