3 for cros_dir in "${HOME}/chromiumos" "/usr/local/src/chromiumos" ; do
4 [[ -d ${cros_dir} ]] && break || :
6 depot_dir="${cros_dir}/depot_tools"
7 cros_sdk="${depot_dir}/cros_sdk"
10 rsync -a ~/.bin/cros-* "${depot_dir}"/
12 exec "${cros_sdk}" "$@"