From 647026a16ba7468855b9f83ab796080708879516 Mon Sep 17 00:00:00 2001 From: "Hyang-Ah (Hana) Kim" Date: Wed, 13 May 2015 17:26:19 -0400 Subject: [PATCH] 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 --- misc/cgo/testcshared/test.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cgo/testcshared/test.bash b/misc/cgo/testcshared/test.bash index ed437577c7..492d25e134 100755 --- a/misc/cgo/testcshared/test.bash +++ b/misc/cgo/testcshared/test.bash @@ -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";; -- 2.48.1