diff options
-rw-r--r-- | meta/lib/oe/reproducible.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py index 4fb99d963c..35b8be6d08 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta/lib/oe/reproducible.py | |||
@@ -92,7 +92,7 @@ def find_git_folder(d, sourcedir): | |||
92 | for root, dirs, files in os.walk(workdir, topdown=True): | 92 | for root, dirs, files in os.walk(workdir, topdown=True): |
93 | dirs[:] = [d for d in dirs if d not in exclude] | 93 | dirs[:] = [d for d in dirs if d not in exclude] |
94 | if '.git' in dirs: | 94 | if '.git' in dirs: |
95 | return root | 95 | return os.path.join(root, ".git") |
96 | 96 | ||
97 | bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir) | 97 | bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir) |
98 | return None | 98 | return None |