mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
24 lines
311 B
Bash
24 lines
311 B
Bash
#!/bin/bash
|
|
|
|
SCRIPT=$(readlink -f "$0")
|
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
|
|
cd "$SCRIPTPATH"
|
|
|
|
if [ -d "depot_tools" ]
|
|
then
|
|
echo ""
|
|
else
|
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
fi
|
|
|
|
export PATH=`pwd`/depot_tools:"$PATH"
|
|
gclient
|
|
|
|
if [ -d "./v8" ]
|
|
then
|
|
gclient sync
|
|
else
|
|
fetch v8
|
|
fi
|