summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier>2011-12-13 21:15:03 +0000
committervapier <vapier>2011-12-13 21:15:03 +0000
commit854554fe81618e018943849d03326c6277994e3d (patch)
treeaa8d90f15145482eda016454fd02c09fc7573d58
parentsimplify job handling a bit by always using it -- 1 job is simply a special c... (diff)
downloadlocale-gen-854554fe81618e018943849d03326c6277994e3d.tar.gz
locale-gen-854554fe81618e018943849d03326c6277994e3d.tar.bz2
locale-gen-854554fe81618e018943849d03326c6277994e3d.zip
avoid empty echo when running in quiet mode
-rwxr-xr-xlocale-gen4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale-gen b/locale-gen
index a6d2e18..4019806 100755
--- a/locale-gen
+++ b/locale-gen
@@ -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+=( $! )