summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/recipetool/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index 1810c70ae2..dbd74a1ca3 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -704,7 +704,7 @@ def create_recipe(args):
704 if not args.autorev and srcrev == '${AUTOREV}': 704 if not args.autorev and srcrev == '${AUTOREV}':
705 if os.path.exists(os.path.join(srctree, '.git')): 705 if os.path.exists(os.path.join(srctree, '.git')):
706 (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srctree) 706 (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srctree)
707 srcrev = stdout.rstrip() 707 srcrev = stdout.rstrip()
708 lines_before.append('SRCREV = "%s"' % srcrev) 708 lines_before.append('SRCREV = "%s"' % srcrev)
709 if args.provides: 709 if args.provides:
710 lines_before.append('PROVIDES = "%s"' % args.provides) 710 lines_before.append('PROVIDES = "%s"' % args.provides)