2013-04-29 12:09:31 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
|
|
|
|
UTIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
|
|
|
if [ "$(which adb)" != "" ]; then
|
|
|
|
ADB="$(which adb)"
|
|
|
|
elif [ $(uname) == "Linux" ]; then
|
|
|
|
ADB=$UTIL_DIR/../linux/adb
|
|
|
|
elif [ $(uname) == "Darwin" ]; then
|
|
|
|
ADB=$UTIL_DIR/../mac/adb
|
|
|
|
else
|
|
|
|
echo "ERROR: Could not find ADB!"
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
|
2013-06-27 13:43:04 +00:00
|
|
|
#echo "ADB is: $ADB"
|