Loading system/gd/cert/set_up_acts.sh +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ function CompileBluetoothPacketsPython3 { if [[ "${BASH_SOURCE[0]}" == "${0}" ]] ; then UsageSourcedNotExecuted exit 1 return 1 fi if [[ -z "$ANDROID_BUILD_TOP" ]] ; then Loading system/gd/cert/set_up_and_run_device_cert.sh +5 −5 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ function menu-adb() { result=0 if [ $LEN -lt 1 ]; then echo "No devices connected!" exit 1 return 1 fi if [ "$LEN" == "" ]; then Loading Loading @@ -47,7 +47,7 @@ function menu-adb() { echo echo "Please choose a correct index!" 1>&2 echo exit 1 return 1 fi SERIAL=${SERIALS[$answer]} Loading @@ -72,7 +72,7 @@ function get-android-root() { echo echo "Needs to be ran in the android tree" echo exit 1 return 1 fi echo "${android_root}" } Loading Loading @@ -100,7 +100,7 @@ if [ $# -gt 0 ]; then echo " -h | Help(this) Menu" echo " -d | Dry run; just prints commands" echo exit 0 return 0 elif [ "$var" == "-d" ]; then DRY_RUN="echo" elif [ "$var" == "-b" ]; then Loading @@ -122,7 +122,7 @@ if [ "${CERT_SERIAL}" == "${DUT_SERIAL}" ]; then echo echo "ERROR: CERT and DUT cannot be the same device, or you only have one device connected!" echo exit 1 return 1 fi ## Start builds Loading Loading
system/gd/cert/set_up_acts.sh +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ function CompileBluetoothPacketsPython3 { if [[ "${BASH_SOURCE[0]}" == "${0}" ]] ; then UsageSourcedNotExecuted exit 1 return 1 fi if [[ -z "$ANDROID_BUILD_TOP" ]] ; then Loading
system/gd/cert/set_up_and_run_device_cert.sh +5 −5 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ function menu-adb() { result=0 if [ $LEN -lt 1 ]; then echo "No devices connected!" exit 1 return 1 fi if [ "$LEN" == "" ]; then Loading Loading @@ -47,7 +47,7 @@ function menu-adb() { echo echo "Please choose a correct index!" 1>&2 echo exit 1 return 1 fi SERIAL=${SERIALS[$answer]} Loading @@ -72,7 +72,7 @@ function get-android-root() { echo echo "Needs to be ran in the android tree" echo exit 1 return 1 fi echo "${android_root}" } Loading Loading @@ -100,7 +100,7 @@ if [ $# -gt 0 ]; then echo " -h | Help(this) Menu" echo " -d | Dry run; just prints commands" echo exit 0 return 0 elif [ "$var" == "-d" ]; then DRY_RUN="echo" elif [ "$var" == "-b" ]; then Loading @@ -122,7 +122,7 @@ if [ "${CERT_SERIAL}" == "${DUT_SERIAL}" ]; then echo echo "ERROR: CERT and DUT cannot be the same device, or you only have one device connected!" echo exit 1 return 1 fi ## Start builds Loading