clear both possible places for the scons cache

old-commit-hash: 599f000cde
commatwo_master
George Hotz 5 years ago
parent 3e44be1461
commit c5282bf173
  1. 3
      selfdrive/manager.py

@ -125,7 +125,8 @@ if not prebuilt:
print("....%d" % i)
time.sleep(1)
subprocess.check_call(["scons", "-c"], cwd=BASEDIR, env=env)
shutil.rmtree("/tmp/scons_cache")
shutil.rmtree("/tmp/scons_cache", ignore_errors=True)
shutil.rmtree("/data/scons_cache", ignore_errors=True)
else:
print("scons build failed after retry")
sys.exit(1)

Loading…
Cancel
Save