aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2020-12-10 14:04:22 -0800
committerCaroline Tice <cmtice@chromium.org>2020-12-10 22:23:47 +0000
commit028b14d40de70f7caf987fc76db932d78174b4cc (patch)
tree465cc19acfccd48af8c0229a1e55b25e35fd3f14
parentbd1004a4776dc1b2df3a2a565cda6c0f1fc8599f (diff)
downloadtoolchain-utils-upstream-mirror-master.tar.gz
toolchain-utils: Remove 'target' from distfiles path (for cleanup).upstream-mirror-mastermirror-chromium-master
'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 <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
-rwxr-xr-xauto_delete_nightly_test_data.py3
1 files changed, 1 insertions, 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}')