diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-09-20 12:03:39 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-11-09 14:47:44 +1300 |
commit | 722beec231d14cd9906554ae64eb96cbf83db79c (patch) | |
tree | c731e15b3e3ac9b6806580cfa2d649fe7ed53260 | |
parent | 3717c76eb24217c14a22f72fdd8732923729dee8 (diff) | |
download | openembedded-core-contrib-722beec231d14cd9906554ae64eb96cbf83db79c.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>
-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 |