Skip to content

Commit b8811b8

Browse files
authored
Merge pull request #160 from travis-ci/debug-make.bash-verbose
If GIMME_DEBUG >= 2 then `make.bash -v`
2 parents f459654 + fe5c6d5 commit b8811b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gimme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ _compile() {
327327
export CC_FOR_TARGET="${GIMME_CC_FOR_TARGET}"
328328

329329
local make_log="${1}/make.${GOOS}.${GOARCH}.log"
330-
if [[ "${GIMME_DEBUG}" -gt "1" ]]; then
331-
./make.bash 2>&1 | tee "${make_log}" 1>&2 || return 1
330+
if [[ "${GIMME_DEBUG}" -ge "2" ]]; then
331+
./make.bash -v 2>&1 | tee "${make_log}" 1>&2 || return 1
332332
else
333333
./make.bash &>"${make_log}" || return 1
334334
fi

0 commit comments

Comments
 (0)