We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb0a54 commit 85d7bb2Copy full SHA for 85d7bb2
toolchains/rpm/rpmbuild_configure.bzl
@@ -83,8 +83,8 @@ def _build_repo_for_rpmbuild_toolchain_impl(rctx):
83
84
debuginfo_type = rctx.attr.debuginfo_type
85
if debuginfo_type == DEBUGINFO_TYPE_AUTODETECT:
86
- rctx.watch(RELEASE_PATH)
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