Mercurial > vim
view src/which.sh @ 15010:e3910b9827d0 v8.1.0516
patch 8.1.0516: :move command marks buffer modified when nothing changed
commit https://github.com/vim/vim/commit/ddd1f9183bed00d096f29c503721ac559174a29f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 10 19:19:36 2018 +0100
patch 8.1.0516: :move command marks buffer modified when nothing changed
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Nov 2018 19:30: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