diff options
Diffstat (limited to 'scripts/lib/recipetool/create.py')
| -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 1d5bfd995c..0c413688c0 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
| @@ -22,6 +22,7 @@ import glob | |||
| 22 | import fnmatch | 22 | import fnmatch |
| 23 | import re | 23 | import re |
| 24 | import logging | 24 | import logging |
| 25 | import scriptutils | ||
| 25 | 26 | ||
| 26 | logger = logging.getLogger('recipetool') | 27 | logger = logging.getLogger('recipetool') |
| 27 | 28 | ||
| @@ -238,6 +239,7 @@ def create_recipe(args): | |||
| 238 | outlines.extend(lines_after) | 239 | outlines.extend(lines_after) |
| 239 | 240 | ||
| 240 | if args.extract_to: | 241 | if args.extract_to: |
| 242 | scriptutils.git_convert_standalone_clone(srctree) | ||
| 241 | shutil.move(srctree, args.extract_to) | 243 | shutil.move(srctree, args.extract_to) |
| 242 | logger.info('Source extracted to %s' % args.extract_to) | 244 | logger.info('Source extracted to %s' % args.extract_to) |
| 243 | 245 | ||
