OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/sh | |
2 set -ex | |
3 | |
vapier
2016/04/11 15:09:18
same comment here about using a main func so it's
Ted Mielczarek
2016/04/11 16:30:19
Done.
| |
4 (cd; git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git) | |
5 | |
6 PATH="$HOME/depot_tools:$PATH" | |
7 | |
8 # Rename the source dir to match what gclient expects. | |
9 srcdir=`basename $TRAVIS_BUILD_DIR` | |
vapier
2016/04/11 15:09:18
please write instead:
srcdir=$(basename "${TRAVI
Ted Mielczarek
2016/04/11 16:30:19
Done.
| |
10 cd ${TRAVIS_BUILD_DIR}/.. | |
vapier
2016/04/11 15:09:18
please quote it
Ted Mielczarek
2016/04/11 16:30:19
Done.
| |
11 mv $srcdir src | |
vapier
2016/04/11 15:09:18
quote & use braces
mv "${srcdir}" src
Ted Mielczarek
2016/04/11 16:30:19
Done.
| |
12 gclient config --unmanaged https://github.com/google/breakpad.git | |
13 gclient sync | |
OLD | NEW |