Commit 647026a1 authored by Hyang-Ah (Hana) Kim's avatar Hyang-Ah (Hana) Kim Committed by Hyang-Ah Hana Kim

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/9999Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 1e26df40
......@@ -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";;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment