From: Paul Eggleton Date: Wed, 20 Sep 2017 00:03:39 +0000 (+1200) Subject: recipetool: pass absolute source tree path to plugins X-Git-Tag: uninative-1.8~1151 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=949067384c5166058ebc76f931cc492dad1db645;p=openembedded-core.git recipetool: pass absolute source tree path to plugins We shouldn't be passing a relative path to the plugins if that's what's been specified on the recipetool command line. Signed-off-by: Paul Eggleton --- diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index ca474fce99..1532735ab8 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py @@ -613,9 +613,9 @@ def create_recipe(args): if args.src_subdir: srcsubdir = os.path.join(srcsubdir, args.src_subdir) - srctree_use = os.path.join(srctree, args.src_subdir) + srctree_use = os.path.abspath(os.path.join(srctree, args.src_subdir)) else: - srctree_use = srctree + srctree_use = os.path.abspath(srctree) if args.outfile and os.path.isdir(args.outfile): outfile = None