Skip to content

Commit

Permalink
Fixing BLT executable. (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Jan 6, 2017
1 parent 0ae7c39 commit e8c04ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/blt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions blt.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e8c04ab

Please sign in to comment.