diff options
Diffstat (limited to 'scripts/lib/recipetool')
| -rw-r--r-- | scripts/lib/recipetool/create.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index bf4277ced3..8305e43648 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
| @@ -283,6 +283,8 @@ def create_recipe(args): | |||
| 283 | # to just remove it first | 283 | # to just remove it first |
| 284 | os.rmdir(args.extract_to) | 284 | os.rmdir(args.extract_to) |
| 285 | shutil.move(srctree, args.extract_to) | 285 | shutil.move(srctree, args.extract_to) |
| 286 | if tempsrc == srctree: | ||
| 287 | tempsrc = None | ||
| 286 | logger.info('Source extracted to %s' % args.extract_to) | 288 | logger.info('Source extracted to %s' % args.extract_to) |
| 287 | 289 | ||
| 288 | if outfile == '-': | 290 | if outfile == '-': |
