diff options
author | Kenneth Heafield <github@kheafield.com> | 2011-12-13 17:54:15 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2011-12-13 17:54:15 +0400 |
commit | 3e7e101d9852cfcec83338eb906e53fc5cf8e6f3 (patch) | |
tree | f92a978953e3190e9bd78c712de384723ac24cea /bjam | |
parent | 8651e178939299aef02cd2fd15b2ee6840f2b693 (diff) |
Try working around John Morgan's which command
Diffstat (limited to 'bjam')
-rwxr-xr-x | bjam | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 >/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 |