]> code.ossystems Code Review - openembedded-core.git/commit
autotools.bbclass: Don't copy into non-existant directory
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 10 Feb 2012 18:00:50 +0000 (19:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2012 23:59:15 +0000 (23:59 +0000)
commitba175bdfe85d701298d28e5190e55207420a24e8
treecc0efd2046cb3842fe272bb04547c838e0034229
parentca343882f8e95b49b18b234000e387c879cf5885
autotools.bbclass: Don't copy into non-existant directory

* If configure.ac contains AM_GNU_GETTEXT and po/Makefile.in.in
  doesn't exist, autotools_do_configure() copies a local
  version of Makefile.in.in to this location. If the directory
  'po' doesn't exist, the function aborts.

* This patch verifies that the directory exists before copying
  a file to it. This fixes libcddb, which uses AM_GNU_GETTEXT,
  but has no 'po' directory.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
meta/classes/autotools.bbclass