Skip to content

Commit

Permalink
Merge pull request #160 from travis-ci/debug-make.bash-verbose
Browse files Browse the repository at this point in the history
If GIMME_DEBUG >= 2 then `make.bash -v`
  • Loading branch information
joepvd authored Aug 15, 2018
2 parents f459654 + fe5c6d5 commit b8811b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gimme
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ _compile() {
export CC_FOR_TARGET="${GIMME_CC_FOR_TARGET}"

local make_log="${1}/make.${GOOS}.${GOARCH}.log"
if [[ "${GIMME_DEBUG}" -gt "1" ]]; then
./make.bash 2>&1 | tee "${make_log}" 1>&2 || return 1
if [[ "${GIMME_DEBUG}" -ge "2" ]]; then
./make.bash -v 2>&1 | tee "${make_log}" 1>&2 || return 1
else
./make.bash &>"${make_log}" || return 1
fi
Expand Down

0 comments on commit b8811b8

Please sign in to comment.