diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2010-09-30 15:04:31 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-01 16:32:33 +0100 |
commit | c112368e6f4760f07a1fa61f3fc482c00556bbdb (patch) | |
tree | 46fceba74bf865a4fa582c909890307e40ea83f0 /meta | |
parent | 4a193307092267547386a6c0801c0ccd65e88c39 (diff) | |
download | openembedded-core-c112368e6f4760f07a1fa61f3fc482c00556bbdb.tar.gz openembedded-core-c112368e6f4760f07a1fa61f3fc482c00556bbdb.tar.bz2 openembedded-core-c112368e6f4760f07a1fa61f3fc482c00556bbdb.zip |
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 <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/siteconfig.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index 2694f65de2..37d910e1da 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 |