Re: [libgo, build] Avoid echo -n in gotest

2011-04-05 Thread Ian Lance Taylor
Andreas Schwab writes: > Rainer Orth writes: > >> diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest >> --- 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/nu

Re: [libgo, build] Avoid echo -n in gotest

2011-04-05 Thread Andreas Schwab
Rainer Orth writes: > diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest > --- 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=$(printf "%s"