Fix invalid variable names when building

This commit is contained in:
Stephen Seo 2022-06-04 16:26:27 +09:00
parent 3ea3fbfb1c
commit 69e9751be9

View file

@ -686,11 +686,11 @@ def update_pkg_list(
cleanup_sccache(other_state['chroot']) cleanup_sccache(other_state['chroot'])
setup_ccache(other_state['chroot']) setup_ccache(other_state['chroot'])
else: else:
cleanup_ccache(chroot) cleanup_ccache(other_state['chroot'])
if "sccache_dir" in pkg_state[pkg]: if "sccache_dir" in pkg_state[pkg]:
setup_sccache(chroot) setup_sccache(other_state['chroot'])
else: else:
cleanup_sccache(chroot) cleanup_sccache(other_state['chroot'])
command_list = [ command_list = [
"makechrootpkg", "makechrootpkg",