diff options
Diffstat (limited to 'scripts/lib/recipetool/create.py')
| -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): | |||
| 613 | 613 | ||
| 614 | if args.src_subdir: | 614 | if args.src_subdir: |
| 615 | srcsubdir = os.path.join(srcsubdir, args.src_subdir) | 615 | srcsubdir = os.path.join(srcsubdir, args.src_subdir) |
| 616 | srctree_use = os.path.join(srctree, args.src_subdir) | 616 | srctree_use = os.path.abspath(os.path.join(srctree, args.src_subdir)) |
| 617 | else: | 617 | else: |
| 618 | srctree_use = srctree | 618 | srctree_use = os.path.abspath(srctree) |
| 619 | 619 | ||
| 620 | if args.outfile and os.path.isdir(args.outfile): | 620 | if args.outfile and os.path.isdir(args.outfile): |
| 621 | outfile = None | 621 | outfile = None |
