Mercurial > vim
view src/which.sh @ 5822:251acc686ca4 v7.4.254
updated for version 7.4.254
Problem: Smack support detection is incomplete.
Solution: Check for attr/xattr.h and specific macro.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 10 Apr 2014 11:09:17 +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