mirror of https://github.com/golang/go.git
misc/cgo/testcshared: remove use of 'env'.
'env' command is not available on some android devices. Change-Id: I68b1152ef7ea248c8e80c7f71e97da76e3ec6394 Reviewed-on: https://go-review.googlesource.com/9999 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
1e26df40fa
commit
647026a16b
|
|
@ -46,7 +46,7 @@ function run() {
|
|||
case "$goos" in
|
||||
"android")
|
||||
local args=$@
|
||||
output=$(adb shell "cd ${androidpath}; env $@")
|
||||
output=$(adb shell "cd ${androidpath}; $@")
|
||||
output=$(echo $output|tr -d '\r')
|
||||
case $output in
|
||||
*PASS) echo "PASS";;
|
||||
|
|
|
|||
Loading…
Reference in New Issue