diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-07-31 00:47:30 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-07-31 00:47:30 +0400 |
commit | edf34e9d35425ca627ed19e1415172258ca82cc5 (patch) | |
tree | 27060f4a96c30b2bf568e70b8cc5899f736f1908 /bjam | |
parent | 1d6fa9178a473171e22d9d678c343e4f5fa79aae (diff) |
Loosen requirements for system bjam versions / Tom Hoar
Diffstat (limited to 'bjam')
-rwxr-xr-x | bjam | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,8 +4,7 @@ if bjam="$(which bjam 2>/dev/null)" && #exists [ ${#bjam} != 0 ] && #paranoia about which printing nothing then returning true ! grep UFIHGUFIHBDJKNCFZXAEVA "${bjam}" </dev/null >/dev/null && #bjam in path isn't this script - "${bjam}" --version |grep "Boost.Build 201" >/dev/null 2>/dev/null && #It's recent enough. - "${bjam}" --help >/dev/null 2>/dev/null #bjam in path isn't broken (i.e. has boost-build) + "${bjam}" --sanity-test 2>/dev/null |grep Sane >/dev/null #The test in jam-files/sanity.jam passes then #Delegate to system bjam exec "${bjam}" "$@" |