Mercurial > vim
view src/which.sh @ 12158:b3e39486880a v8.0.0959
patch 8.0.0959: build failure on MS-Windows
commit https://github.com/vim/vim/commit/f66a2cda2c425c441fc5e20c8f8893c9630e3aaa
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 18 21:53:22 2017 +0200
patch 8.0.0959: build failure on MS-Windows
Problem: Build failure on MS-Windows.
Solution: Use ioctlsocket() instead of fcntl().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 18 Aug 2017 22:00:04 +0200 |
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