From c757e394946cd6cd6da2e4b2e88b1cccaa4759ae Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Sun, 20 Nov 2011 13:15:54 -0500 Subject: [PATCH] Attempt to fix bjam for Hieu on OS X --- bjam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bjam b/bjam index 650fcd564..2e9716b96 100755 --- a/bjam +++ b/bjam @@ -1,4 +1,4 @@ -#!/bin/env bash +#!/bin/bash set -e which bjam >/dev/null 2>/dev/null && exec bjam "$@" @@ -10,4 +10,5 @@ if [ ! -x "$top"/jam-files/bjam ]; then popd fi -BOOST_BUILD_PATH="$top"/jam-files/boost-build exec "$top"/jam-files/bjam "$@" +export BOOST_BUILD_PATH="$top"/jam-files/boost-build +exec "$top"/jam-files/bjam "$@"