diff options
author | 2011-12-13 21:15:03 +0000 | |
---|---|---|
committer | 2011-12-13 21:15:03 +0000 | |
commit | 854554fe81618e018943849d03326c6277994e3d (patch) | |
tree | aa8d90f15145482eda016454fd02c09fc7573d58 | |
parent | simplify job handling a bit by always using it -- 1 job is simply a special c... (diff) | |
download | locale-gen-854554fe81618e018943849d03326c6277994e3d.tar.gz locale-gen-854554fe81618e018943849d03326c6277994e3d.tar.bz2 locale-gen-854554fe81618e018943849d03326c6277994e3d.zip |
avoid empty echo when running in quiet mode
-rwxr-xr-x | locale-gen | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ show_usage() { } show_version() { local b="(" a=")" - local cvsver="$Revision: 1.31 $b $Date: 2011/11/20 22:01:00 $a" + local cvsver="$Revision: 1.32 $b $Date: 2011/12/13 21:15:03 $a" echo "locale-gen-${cvsver//: }" exit 0 } @@ -287,7 +287,7 @@ generate_locale() { exit ${ret} ) ret=$? - echo "${x}" + [[ -n ${output} ]] && echo "${x}" exit ${ret} ) & JOB_PIDS+=( $! ) |