]> git.seodisparate.com - AnotherAURHelper/commitdiff
Fix invalid variable names when building
authorStephen Seo <seo.disparate@gmail.com>
Sat, 4 Jun 2022 07:26:27 +0000 (16:26 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sat, 4 Jun 2022 07:26:27 +0000 (16:26 +0900)
update.py

index 87492fff9285658d927114a7d99de41f2225f2c4..c2fa5cdfa840916837bca3e154f2eec64675fad8 100755 (executable)
--- a/update.py
+++ b/update.py
@@ -686,11 +686,11 @@ def update_pkg_list(
             cleanup_sccache(other_state['chroot'])
             setup_ccache(other_state['chroot'])
         else:
-            cleanup_ccache(chroot)
+            cleanup_ccache(other_state['chroot'])
             if "sccache_dir" in pkg_state[pkg]:
-                setup_sccache(chroot)
+                setup_sccache(other_state['chroot'])
             else:
-                cleanup_sccache(chroot)
+                cleanup_sccache(other_state['chroot'])
 
         command_list = [
             "makechrootpkg",