From c112368e6f4760f07a1fa61f3fc482c00556bbdb Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 30 Sep 2010 15:04:31 -0500 Subject: siteconfig: Fix mkdir [BUGID #379] In a strange configuration, siteconfig could have already generated it's directory, but decided it needs to regenerate the site config. The lack of -p in the mkdir causes a failure. Signed-off-by: Mark Hatle --- meta/classes/siteconfig.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/siteconfig.bbclass') diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index 2694f65de..37d910e1d 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass @@ -11,7 +11,7 @@ python siteconfig_do_siteconfig () { } siteconfig_do_siteconfig_gencache () { - mkdir ${WORKDIR}/site_config + mkdir -p ${WORKDIR}/site_config gen-site-config ${FILE_DIRNAME}/site_config \ >${WORKDIR}/site_config/configure.ac cd ${WORKDIR}/site_config -- cgit v1.2.3