mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01: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
|
|
@ -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…
Reference in New Issue
Block a user