Files
Android11/tools/acloud/setup/pre_setup_sh/acloud_pre_setup.sh
2023-10-13 14:01:41 +00:00

23 lines
496 B
Bash
Executable File

#!/bin/bash
source "$ANDROID_BUILD_TOP/tools/acloud/setup/pre_setup_sh/setup_utils.sh"
# Run any scripts in this dir and in any extra specified locations.
SCRIPT_LOCATIONS=(
$(dirname $(get_real_path $0))
"$ANDROID_BUILD_TOP/vendor/google/tools/acloud"
)
for script_dir in ${SCRIPT_LOCATIONS[*]};
do
if [[ ! -d $script_dir ]]; then
continue
fi
for script in $(ls ${script_dir}/*.sh);
do
if [[ $(basename $script) != $(basename $0) ]]; then
$script
fi
done
done