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): # to just remove it first os.rmdir(args.extract_to) shutil.move(srctree, args.extract_to) + if tempsrc == srctree: + tempsrc = None logger.info('Source extracted to %s' % args.extract_to) if outfile == '-':