Skip to content

Commit b1e6dcb

Browse files
authored
Merge pull request #118 from kellyma2/repofile-bugfix
Calculate path to repofile correctly
2 parents ca6bf68 + bef3c68 commit b1e6dcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bazeldnf/extensions.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def _alias_repository_impl(repository_ctx):
106106

107107
if repository_ctx.attr.lock_file.package:
108108
lock_file_path = repository_ctx.attr.lock_file.package + "/" + lock_file_path
109+
110+
if repository_ctx.attr.repofile and repository_ctx.attr.repofile.package:
109111
repofile = repository_ctx.attr.repofile.package + "/" + repofile
110112

111113
repository_ctx.file(

0 commit comments

Comments
 (0)