From: Ian Lance Taylor Date: Tue, 5 Apr 2011 19:53:33 +0000 (+0000) Subject: gotest: Avoid echo -n. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69dd762a9917160c40c3f5b68eea08599db2db42;p=gcc.git gotest: Avoid echo -n. From-SVN: r172000 --- diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest index abfaaad08f0..650e4333c0b 100755 --- a/libgo/testsuite/gotest +++ b/libgo/testsuite/gotest @@ -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