Message ID | 1b41f1a38d43c1f0ef351bd6959a77821886a8b6.1642385249.git.anuj.mittal@intel.com |
---|---|
State | Accepted, archived |
Commit | 1b41f1a38d43c1f0ef351bd6959a77821886a8b6 |
Headers | show |
Series | [honister,01/12] epiphany: Update 40.3 -> 40.6 | expand |
diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py index 204b9bd734..0938e4cb39 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta/lib/oe/reproducible.py @@ -41,7 +41,7 @@ def find_git_folder(d, sourcedir): for root, dirs, files in os.walk(workdir, topdown=True): dirs[:] = [d for d in dirs if d not in exclude] if '.git' in dirs: - return root + return os.path.join(root, ".git") bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir) return None