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:
Hyang-Ah (Hana) Kim 2015-05-13 17:26:19 -04:00 committed by Hyang-Ah Hana Kim
parent 1e26df40fa
commit 647026a16b
1 changed files with 1 additions and 1 deletions

View File

@ -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";;