From 3e7e101d9852cfcec83338eb906e53fc5cf8e6f3 Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Tue, 13 Dec 2011 08:54:15 -0500 Subject: Try working around John Morgan's which command --- bjam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bjam') diff --git a/bjam b/bjam index 962d5a87a..c58c15c1a 100755 --- a/bjam +++ b/bjam @@ -2,7 +2,7 @@ set -e if which bjam >/dev/null 2>/dev/null && #Have a bjam in path - ! grep UFIHGUFIHBDJKNCFZXAEVA "$(which bjam)" >/dev/null && #bjam in path isn't this script + ! grep UFIHGUFIHBDJKNCFZXAEVA "$(which bjam)" /dev/null && #bjam in path isn't this script bjam --help >/dev/null 2>/dev/null && #bjam in path isn't broken (i.e. has boost-build) bjam --version |grep "Boost.Build 201" >/dev/null 2>/dev/null #It's recent enough. then -- cgit v1.2.3