texi2html: Add check for directory existence

Without this, if configure fails, it won't be able to run again as the directory
already exists.

(From OE-Core rev: 71a3ba536d022eea3a199cf4d6c5c791d91603a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-10-17 13:54:01 +00:00
parent 1a731b5f31
commit 25e060dde1
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ inherit autotools gettext
do_configure_prepend() {
# Make a directory for the old gettext setup
mkdir ${S}/po
if [ ! -d ${S}/po ]; then
mkdir ${S}/po
fi
}
do_configure_append() {