Skip to content

Commit 3d7234a

Browse files
committed
Properly cleanup .git for strip_prefix repos
1 parent 2889dfb commit 3d7234a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rs/private/crate_git_repository.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _crate_git_repository_implementation(rctx):
112112

113113
# Since we're using `git` to download the repo, remove
114114
# the `.git` to make sure it's reproducible.
115-
rctx.delete(root.get_child(".git"))
115+
rctx.delete(dest_dir.get_child(".git"))
116116
return rctx.repo_metadata(reproducible = True)
117117

118118
crate_git_repository = repository_rule(

0 commit comments

Comments
 (0)