Mercurial > vim
view src/which.sh @ 15318:f58e7895cb40 v8.1.0667
patch 8.1.0667: textprop test leaves file behind
commit https://github.com/vim/vim/commit/2f21fa8743404289f1410ba49dd711a622f45d81
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 31 20:05:56 2018 +0100
patch 8.1.0667: textprop test leaves file behind
Problem: Textprop test leaves file behind.
Solution: Delete the file. (Dominique Pelle, closes https://github.com/vim/vim/issues/3743)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Dec 2018 20:15: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