diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 559fd45676..2e56cd3050 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -921,7 +921,7 @@ def modify(args, config, basepath, workspace): | |||
921 | if line.startswith('*'): | 921 | if line.startswith('*'): |
922 | (stdout, _) = bb.process.run('git rev-parse devtool-base', cwd=srctree) | 922 | (stdout, _) = bb.process.run('git rev-parse devtool-base', cwd=srctree) |
923 | initial_revs["."] = stdout.rstrip() | 923 | initial_revs["."] = stdout.rstrip() |
924 | if not initial_revs["."]: | 924 | if "." not in initial_revs: |
925 | # Otherwise, just grab the head revision | 925 | # Otherwise, just grab the head revision |
926 | (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srctree) | 926 | (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srctree) |
927 | initial_revs["."] = stdout.rstrip() | 927 | initial_revs["."] = stdout.rstrip() |