OSDN Git Service

gotest: Avoid echo -n.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 19:53:33 +0000 (19:53 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 19:53:33 +0000 (19:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172000 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/testsuite/gotest

index abfaaad..650e433 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