• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3source "$ANDROID_BUILD_TOP/tools/acloud/setup/pre_setup_sh/setup_utils.sh"
4
5# Run any scripts in this dir and in any extra specified locations.
6SCRIPT_LOCATIONS=(
7  $(dirname $(get_real_path $0))
8  "$ANDROID_BUILD_TOP/vendor/google/tools/acloud"
9)
10
11for script_dir in ${SCRIPT_LOCATIONS[*]};
12do
13  if [[ ! -d $script_dir ]]; then
14    continue
15  fi
16  for script in $(ls ${script_dir}/*.sh);
17  do
18    if [[ $(basename $script) != $(basename $0) ]]; then
19      $script
20    fi
21  done
22done
23