summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/recipetool/create.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index 4887604219..873b7ddcc6 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -404,6 +404,8 @@ def create_recipe(args):
404 # to just remove it first 404 # to just remove it first
405 os.rmdir(args.extract_to) 405 os.rmdir(args.extract_to)
406 shutil.move(srctree, args.extract_to) 406 shutil.move(srctree, args.extract_to)
407 if tempsrc == srctree:
408 tempsrc = None
407 logger.info('Source extracted to %s' % args.extract_to) 409 logger.info('Source extracted to %s' % args.extract_to)
408 410
409 if outfile == '-': 411 if outfile == '-':