Skip to content

Commit

Permalink
Travis: s/GITHUB_TREE/GIT_TREE/
Browse files Browse the repository at this point in the history
See #23
  • Loading branch information
JDGrimes committed Feb 19, 2015
1 parent 761c058 commit 1ce8f03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis/commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ setup-composer() {
install-from-github() {

local GITHUB_SRC=${1}_GITHUB_SRC
local GITHUB_TREE=${1}_GITHUB_TREE
local GIT_TREE=${1}_GIT_TREE
local DIR=${1}_DIR

mkdir -p "${!DIR}"
curl -L "https://github.com/${!GITHUB_SRC}/archive/${!GITHUB_TREE}.tar.gz" \
curl -L "https://github.com/${!GITHUB_SRC}/archive/${!GIT_TREE}.tar.gz" \
| tar xvz --strip-components=1 -C "${!DIR}"
}

Expand Down

0 comments on commit 1ce8f03

Please sign in to comment.