* [PATCH] texi2html: Add check for directory existence
@ 2012-10-17 14:34 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-10-17 14:34 UTC (permalink / raw)
To: openembedded-core
Without this, if configure fails, it won't be able to run again as the directory
already exists.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb
index 4b220f5..f168416 100644
--- a/meta/recipes-extended/texi2html/texi2html_5.0.bb
+++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb
@@ -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() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-17 14:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 14:34 [PATCH] texi2html: Add check for directory existence Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.