mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-23 01:53:37 +00:00
1600b6054e
These are development scripts, so no need for them to be fast or super portable. Switch them to bash rather than POSIX shell.
24 lines
466 B
Bash
Executable file
24 lines
466 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
get_depot_tools() {
|
|
cd
|
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
PATH="$HOME/depot_tools:$PATH"
|
|
}
|
|
|
|
gclient_sync() {
|
|
# Rename the source dir to match what gclient expects.
|
|
srcdir=$(basename "$TRAVIS_BUILD_DIR")
|
|
cd "${TRAVIS_BUILD_DIR}"/..
|
|
mv "${srcdir}" src
|
|
gclient config --unmanaged https://github.com/google/breakpad.git
|
|
gclient sync
|
|
}
|
|
|
|
main() {
|
|
get_depot_tools
|
|
gclient_sync
|
|
}
|
|
|
|
main "$@"
|