Mercurial > vim
view src/which.sh @ 17494:c8df7f8ccdf8 v8.1.1745
patch 8.1.1745: compiler warning for unused argument
commit https://github.com/vim/vim/commit/1f164b19685d8ad709b11f3f1933685469251e30
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 24 19:00:36 2019 +0200
patch 8.1.1745: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Add UNUSED. Change comments to new style.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Jul 2019 19:15:04 +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