Mercurial > vim
view src/which.sh @ 2080:fa7e62dd58d7 v7.2.364
updated for version 7.2.364
Problem: Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
Solution: Check if _MSC_VER is defined. (Andy Kittner)
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 17 Feb 2010 17:24:27 +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