aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/bin/adb_push_if_needed
blob: 2f8958e0270313c9dcbb4e547c8c4d0aecd9fd09 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
#
# Copy the contents of a directory from the host to a device.

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/utils/android_setup.sh
source $SCRIPT_DIR/utils/setup_adb.sh

adb_push_if_needed ${APP_ARGS[@]}
exit $?