diff --git a/bin/blt b/bin/blt index 560c9f8a7..4793a066f 100755 --- a/bin/blt +++ b/bin/blt @@ -7,7 +7,8 @@ else fi if [ -f "$GIT_ROOT/vendor/acquia/blt/blt.sh" ]; then - $GIT_ROOT/vendor/acquia/blt/blt.sh "$@" + cd $GIT_ROOT + ./vendor/acquia/blt/blt.sh "$@" else echo "Error: You must run this command from within a BLT-generated project repository!" fi diff --git a/blt.sh b/blt.sh index c24b16af9..4cf772d85 100755 --- a/blt.sh +++ b/blt.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +# @todo Move this into bin/blt directly. + SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) BIN=$(cd ${SCRIPT_DIR}/../../bin && pwd) PHING=${BIN}/phing