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:
Diffstat (limited to 'bjam')
-rwxr-xr-xbjam5
1 files changed, 4 insertions, 1 deletions
diff --git a/bjam b/bjam
index 2e9716b96..8a61f3f65 100755
--- a/bjam
+++ b/bjam
@@ -1,6 +1,9 @@
#!/bin/bash
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")"
if [ ! -x "$top"/jam-files/bjam ]; then