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>2011-12-13 17:54:15 +0400
committerKenneth Heafield <github@kheafield.com>2011-12-13 17:54:15 +0400
commit3e7e101d9852cfcec83338eb906e53fc5cf8e6f3 (patch)
treef92a978953e3190e9bd78c712de384723ac24cea /bjam
parent8651e178939299aef02cd2fd15b2ee6840f2b693 (diff)
Try working around John Morgan's which command
Diffstat (limited to 'bjam')
-rwxr-xr-xbjam2
1 files changed, 1 insertions, 1 deletions
diff --git a/bjam b/bjam
index 962d5a87a..c58c15c1a 100755
--- a/bjam
+++ b/bjam
@@ -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