devops: fix post-checkout cleanup on windows (#5438)

Turns out empty trailing space in array in bash results in a file
in windows that it fails to remove while during cleanup.
This commit is contained in:
Andrey Lushnikov 2021-02-12 01:48:11 -08:00 committed by GitHub
parent 539942c803
commit 8500592326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ compile_chromium() {
CHROMIUM_FILES_TO_ARCHIVE=("Chromium.app")
elif [[ $1 == "--compile-linux" ]]; then
CHROMIUM_FOLDER_NAME="chrome-linux"
CHROMIUM_FILES_TO_ARCHIVE=(
CHROMIUM_FILES_TO_ARCHIVE=(
"chrome"
"chrome_100_percent.pak"
"chrome_200_percent.pak"
@ -98,7 +98,7 @@ compile_chromium() {
)
elif [[ $1 == "--compile-win"* ]]; then
CHROMIUM_FOLDER_NAME="chrome-win"
CHROMIUM_FILES_TO_ARCHIVE=(
CHROMIUM_FILES_TO_ARCHIVE=(
"chrome.dll"
"chrome.exe"
"chrome_100_percent.pak"