Searched refs:ADB_LOG (Results 1 – 2 of 2) sorted by relevance
16 local RET ADB_LOG17 ADB_LOG=$(mktemp "${TMPDIR:-/tmp}/adb-XXXXXXXX")18 adb "$1" "$2" shell "$3" "$4" ";" echo \$? | tee "$ADB_LOG"19 sed -i -e 's![[:cntrl:]]!!g' "$ADB_LOG" # Remove \r.20 RET=$(sed -e '$!d' "$ADB_LOG") # Last line contains status code.21 rm -f "$ADB_LOG"
337 local RET ADB_LOG340 ADB_LOG=$(mktemp "${TMPDIR:-/tmp}/adb-XXXXXXXX")341 "$_ADB" shell "$@" ";" echo \$? > "$ADB_LOG" 2>&1342 sed -i -e 's![[:cntrl:]]!!g' "$ADB_LOG" # Remove \r.343 RET=$(sed -e '$!d' "$ADB_LOG") # Last line contains status code.344 sed -e '$d' "$ADB_LOG" # Print everything except last line.345 rm -f "$ADB_LOG"