Mercurial > vim
view src/which.sh @ 6635:050e6df85f99 v7.4.643
updated for version 7.4.643
Problem: Using the default file format for Mac files. (Issue 77)
Solution: Reset the try_mac counter in the right place. (Oswald)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 27 Feb 2015 17:48:09 +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