]> git.wh0rd.org Git - home.git/blob - .bin/cros-sdk
cros-board: fix double slash and add more helpful commands
[home.git] / .bin / cros-sdk
1 #!/bin/bash -e
2
3 for cros_dir in "${HOME}/chromiumos" "/usr/local/src/chromiumos" ; do
4         [[ -d ${cros_dir} ]] && break || :
5 done
6 depot_dir="${cros_dir}/depot_tools"
7 cros_sdk="${depot_dir}/cros_sdk"
8
9 cd "${cros_dir}"
10 rsync -a ~/.bin/cros-* "${depot_dir}"/
11
12 exec "${cros_sdk}" "$@"