From: Ævar Arnfjörð Bjarmason Date: Sat, 21 May 2011 18:44:22 GMT Subject: [PATCH v2 41/48] i18n: git-bisect echo + eval_gettext message Message-ID: <1306003469-22939-42-git-send-email-avarab@gmail.com> In-Reply-To: <1306003469-22939-1-git-send-email-avarab@gmail.com> Signed-off-by: Ævar Arnfjörð Bjarmason --- git-bisect.sh | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/git-bisect.sh b/git-bisect.sh index b29238d..1b432b5 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -417,8 +417,11 @@ bisect_run () { fi if [ $res -ne 0 ]; then - echo >&2 "bisect run failed:" - echo >&2 "'bisect_state $state' exited with error code $res" + ( + eval_gettext "bisect run failed: +'bisect_state \$state' exited with error code \$res" && + echo + ) >&2 exit $res fi -- 1.7.5.1