task-shr-minimal: fix case when binary locales generation is disabled
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Sat, 10 Jul 2010 22:35:32 +0000 (00:35 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Mon, 12 Jul 2010 13:05:54 +0000 (15:05 +0200)
commite2e1cf695fa8577cd211506d9d0f0f575423472c
tree3139268c698313f3f82fa8bedcc5a01c89f3be94
parent41c81a78c33bbf173b5fceb231f747cf1a761776
task-shr-minimal: fix case when binary locales generation is disabled

2 issues were present:
*disabled was a string and so,when binary locales generation was disabled
  it never executed the return statement
  For fixing it,I've copied and adapted the glibc code that JaMa pointed me out:
  FreeNode-#oe.log:Jul 09 14:19:26
    <JaMa> GNUtoo|laptop: glibc/glibc-package.inc is using "if enabled and int(enabled):"
*return should return "",else the dependency of task-shr-minimal are "None".

I also bumped PR
recipes/tasks/task-shr-minimal.bb