Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bjam
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-07-31 00:47:30 +0400
committerKenneth Heafield <github@kheafield.com>2012-07-31 00:47:30 +0400
commitedf34e9d35425ca627ed19e1415172258ca82cc5 (patch)
tree27060f4a96c30b2bf568e70b8cc5899f736f1908 /bjam
parent1d6fa9178a473171e22d9d678c343e4f5fa79aae (diff)
Loosen requirements for system bjam versions / Tom Hoar
Diffstat (limited to 'bjam')
-rwxr-xr-xbjam3
1 files changed, 1 insertions, 2 deletions
diff --git a/bjam b/bjam
index 1cea4fb15..eda8970dc 100755
--- a/bjam
+++ b/bjam
@@ -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}" "$@"