From: Peter Rabbitson Date: Mon, 22 Jul 2013 03:36:42 +0000 (+0200) Subject: Ignore stderr in extract_prereqs - only rely on $? X-Git-Tag: v0.08260~196 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=50e644e581fb96d4ff66b64b8a4be72715a8a4fb;p=dbsrgits%2FDBIx-Class.git Ignore stderr in extract_prereqs - only rely on $? --- diff --git a/maint/travis-ci_scripts/common.bash b/maint/travis-ci_scripts/common.bash index 0b07838..691323a 100755 --- a/maint/travis-ci_scripts/common.bash +++ b/maint/travis-ci_scripts/common.bash @@ -47,7 +47,7 @@ extract_prereqs() { OUT=${COMBINED_OUT#*!!!STDERRSTDOUTSEPARATOR!!!} ERR=$(grep -v " is up to date." <<< "${COMBINED_OUT%!!!STDERRSTDOUTSEPARATOR!!!*}") - if [[ "$LASTEXIT" != "0" ]] || [[ -n "$ERR" ]] ; then + if [[ "$LASTEXIT" != "0" ]] ; then echo_err "Error occured (exit code $LASTEXIT) retrieving dependencies of $@:" echo_err "$ERR" echo_err "$OUT"