diff options
author | vapier <vapier> | 2014-06-13 22:07:18 +0000 |
---|---|---|
committer | vapier <vapier> | 2014-06-13 22:07:18 +0000 |
commit | cb0f451a03b439b73df257617f9326a4f516f08b (patch) | |
tree | ce4fae6d848c0133eb006818ec6efb83869555d6 | |
parent | locale-gen: use $# when processing positional args (diff) | |
download | locale-gen-cb0f451a03b439b73df257617f9326a4f516f08b.tar.gz locale-gen-cb0f451a03b439b73df257617f9326a4f516f08b.tar.bz2 locale-gen-cb0f451a03b439b73df257617f9326a4f516f08b.zip |
locale-gen: write out localedef error messages when in quiet mode
-rwxr-xr-x | locale-gen | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -51,7 +51,7 @@ show_usage() { } show_version() { local b="(" a=")" - local cvsver="$Revision: 1.34 $b $Date: 2014/06/13 22:03:23 $a" + local cvsver="$Revision: 1.35 $b $Date: 2014/06/13 22:07:18 $a" echo "locale-gen-${cvsver//: }" exit 0 } @@ -297,7 +297,11 @@ generate_locale() { exit ${ret} ) ret=$? - [[ -n ${output} ]] && echo "${x}" + if [[ -n ${output} ]] ; then + echo "${x}" + elif [[ ${ret} -ne 0 ]] ; then + eerror "${disp}: ${x}" + fi exit ${ret} ) & JOB_PIDS+=( $! ) |