devops: fix webkit build on POSIX

This commit is contained in:
Andrey Lushnikov 2019-11-22 22:39:13 -08:00
parent 2a4519ffd9
commit 8c8287b276

View file

@ -18,7 +18,8 @@ fi
if [[ "$(uname)" == "Darwin" ]]; then
./Tools/Scripts/build-webkit --release
elif [[ "$(uname)" == "Linux" ]]; then
if ! [[ -d ./WebKitBuild ]]; then
# Check that WebKitBuild exists and is not empty.
if ! [[ (-d ./WebKitBuild) && (-n $(ls -1 ./WebKitBuild/)) ]]; then
yes | DEBIAN_FRONTEND=noninteractive ./Tools/Scripts/update-webkitgtk-libs
fi
./Tools/Scripts/build-webkit --gtk --release MiniBrowser