From 028b14d40de70f7caf987fc76db932d78174b4cc Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Thu, 10 Dec 2020 14:04:22 -0800 Subject: toolchain-utils: Remove 'target' from distfiles path (for cleanup). 'target' is no longer part of the path from distfiles to chrome-src, so this CL fixes the path inour cleanup script. BUG=None TEST=tested script by hand. Change-Id: I8a69b0d153a301b61c5176e44d1ad65dc8e467cd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2585652 Auto-Submit: Caroline Tice Tested-by: Caroline Tice Commit-Queue: Manoj Gupta Reviewed-by: Manoj Gupta --- auto_delete_nightly_test_data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/auto_delete_nightly_test_data.py b/auto_delete_nightly_test_data.py index c3c2e24c..67841188 100755 --- a/auto_delete_nightly_test_data.py +++ b/auto_delete_nightly_test_data.py @@ -215,8 +215,7 @@ def CleanChromeTelemetryTmpFiles(dry_run): rv = 0 ce = command_executer.GetCommandExecuter() tmp_dir = os.path.join(constants.CROSTC_WORKSPACE, 'chromeos', '.cache', - 'distfiles', 'target', 'chrome-src-internal', 'src', - 'tmp') + 'distfiles', 'chrome-src-internal', 'src', 'tmp') cmd = f'rm -fr {shlex.quote(tmp_dir)}/tmp*telemetry_Crosperf' if dry_run: print(f'Going to execute:\n{cmd}') -- cgit v1.2.3