Mercurial > vim
view src/which.sh @ 23731:e949ad96ad7a v8.2.2407
patch 8.2.2407: old jumplist code is never used
Commit: https://github.com/vim/vim/commit/ab55f11d9bc776d546794748bc62ac47d5340c2e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 25 18:44:57 2021 +0100
patch 8.2.2407: old jumplist code is never used
Problem: Old jumplist code is never used.
Solution: Delete the dead code. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/7740)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Jan 2021 19:00:05 +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