Skip to content

Commit 85d7bb2

Browse files
committed
x
1 parent feb0a54 commit 85d7bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchains/rpm/rpmbuild_configure.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def _build_repo_for_rpmbuild_toolchain_impl(rctx):
8383

8484
debuginfo_type = rctx.attr.debuginfo_type
8585
if debuginfo_type == DEBUGINFO_TYPE_AUTODETECT:
86-
rctx.watch(RELEASE_PATH)
8786
if rctx.path(RELEASE_PATH).exists:
87+
rctx.watch(RELEASE_PATH)
8888
os_name, _ = _parse_release_info(rctx.read(RELEASE_PATH))
8989
debuginfo_type = DEBUGINFO_TYPE_BY_OS_RELEASE.get(os_name, debuginfo_type)
9090
else:

0 commit comments

Comments
 (0)