We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3df02f commit 5ba40b3Copy full SHA for 5ba40b3
toolchains/rpm/rpmbuild_configure.bzl
@@ -82,9 +82,9 @@ def _build_repo_for_rpmbuild_toolchain_impl(rctx):
82
fail("debuginfo_type must be one of", DEBUGINFO_VALID_VALUES)
83
84
debuginfo_type = rctx.attr.debuginfo_type
85
- if debuginfo_type == DEBUGINFO_TYPE_AUTODETECT:
86
- rctx.watch(RELEASE_PATH)
+ if debuginfo_type == DEBUGINFO_TYPE_AUTODETECT:
87
if rctx.path(RELEASE_PATH).exists:
+ rctx.watch(RELEASE_PATH)
88
os_name, _ = _parse_release_info(rctx.read(RELEASE_PATH))
89
debuginfo_type = DEBUGINFO_TYPE_BY_OS_RELEASE.get(os_name, debuginfo_type)
90
else:
0 commit comments