diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-09-20 12:03:39 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:14:31 +0000 |
commit | 821742f48723a66fdafe5406bb57188b2f88889a (patch) | |
tree | 6ecfa0cba18ddf961a2edc4306720a22c71fb36d | |
parent | 5210f8f64ed65a677a7a017878783642de886249 (diff) | |
download | openembedded-core-contrib-821742f48723a66fdafe5406bb57188b2f88889a.tar.gz |
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 <paul.eggleton@linux.intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
-rw-r--r-- | scripts/lib/recipetool/create.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |