summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-16 11:02:59 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-16 11:02:59 +0000
commit573776731208f6e1105495761240a6a0b0954997 (patch)
tree18753ac5b0ddb32034fe25612b8032cbc7978206
parent1812814c30d1605d7fcfb9816ad6515715ad25ce (diff)
downloadopenembedded-core-573776731208f6e1105495761240a6a0b0954997.tar.gz
openembedded-core-573776731208f6e1105495761240a6a0b0954997.tar.bz2
openembedded-core-573776731208f6e1105495761240a6a0b0954997.zip
glibc-package.bbclass: Improve localedef failure error message
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@800 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/glibc/glibc-package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/glibc/glibc-package.bbclass b/meta/packages/glibc/glibc-package.bbclass
index 51f5a80bec..6bc8d2a2af 100644
--- a/meta/packages/glibc/glibc-package.bbclass
+++ b/meta/packages/glibc/glibc-package.bbclass
@@ -268,7 +268,7 @@ python package_do_split_gconvs () {
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts)
bb.note("generating locale %s (%s)" % (locale, encoding))
if os.system(cmd):
- raise bb.build.FuncFailed("localedef returned an error.")
+ raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd)
def output_locale(name, locale, encoding):
use_bin = bb.data.getVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", d, 1)