mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
Use internal bjam on broken machines that have bjam but not boost-build
This commit is contained in:
parent
a65ed7e587
commit
becf9f466a
5
bjam
5
bjam
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
which bjam >/dev/null 2>/dev/null && exec bjam "$@"
|
#This checks for bjam including boost-build.
|
||||||
|
if bjam --help >/dev/null 2>/dev/null; then
|
||||||
|
exec bjam "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
top="$(dirname "$0")"
|
top="$(dirname "$0")"
|
||||||
if [ ! -x "$top"/jam-files/bjam ]; then
|
if [ ! -x "$top"/jam-files/bjam ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user