diff options
-rwxr-xr-x | locale-gen | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -44,7 +44,7 @@ show_usage() { } show_version() { local Header="" - local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.18 2006/12/28 19:27:31 vapier Exp $" + local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.19 2007/01/26 16:48:15 vapier Exp $" cvsver=${cvsver##*locale-gen,v } echo "locale-gen-${cvsver%% *}" exit 0 @@ -270,6 +270,11 @@ generate_locale() { ret=$? [[ -n ${output} ]] && eend ${ret} fi + + if [[ ${ret} != 0 && ${locale} == */* ]] ; then + ewarn "Perhaps you meant to use a space instead of a / in your config file ?" + fi + return ${ret} } |