gotest: Avoid echo -n.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Apr 2011 19:53:33 +0000 (19:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Apr 2011 19:53:33 +0000 (19:53 +0000)
From-SVN: r172000

libgo/testsuite/gotest

index abfaaad08f06e38f11e66a2185637ae3aa846546..650e4333c0b44b56b711ca2c4262502c5651b037 100755 (executable)
@@ -231,7 +231,7 @@ mkdir _test
 
 case "x$gofiles" in
 x)
-       gofiles=$(echo -n $(ls *_test.go 2>/dev/null))
+       gofiles=`ls *_test.go 2>/dev/null`
 esac
 
 case "x$gofiles" in
@@ -250,7 +250,7 @@ GC="$holdGC"
 
 case "x$pkgfiles" in
 x)
-       pkgbasefiles=$(echo -n $(ls *.go | grep -v _test.go 2>/dev/null))
+       pkgbasefiles=`ls *.go | grep -v _test.go 2>/dev/null`
        ;;
 *)
        for f in $pkgfiles; do