mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-26 11:18:59 +00:00
Meta: Only run WPT.sh cleanup routines on Linux
These use the `readarray` command which isn't available in the older version of Bash available on macOS. However, they're also not needed on macOS, so let's skip them entirely. Ref: https://github.com/LadybirdBrowser/ladybird/issues/5118
This commit is contained in:
parent
ffae0d8b2d
commit
a0cef5a7da
Notes:
github-actions[bot]
2025-06-18 12:54:06 +00:00
Author: https://github.com/AtkinsSJ
Commit: a0cef5a7da
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5130
Reviewed-by: https://github.com/alimpfard ✅
1 changed files with 5 additions and 2 deletions
|
@ -301,8 +301,11 @@ cleanup_run_dirs() {
|
|||
rm -fr "${BUILD_DIR}/wpt"
|
||||
}
|
||||
cleanup_merge_dirs_and_infra() {
|
||||
cleanup_run_dirs
|
||||
cleanup_run_infra
|
||||
# Cleanup is only needed on Linux
|
||||
if [[ $OSTYPE == 'linux'* ]]; then
|
||||
cleanup_run_dirs
|
||||
cleanup_run_infra
|
||||
fi
|
||||
}
|
||||
trap cleanup_merge_dirs_and_infra EXIT INT TERM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue