mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 06:40:29 +08:00
libgo: simplify gotest script to avoid sed substitution to \n
Reviewed-on: https://go-review.googlesource.com/c/145057 From-SVN: r265541
This commit is contained in:
parent
075b562c44
commit
827651b074
@ -1,4 +1,4 @@
|
||||
9785e5c4e868ba55efdb33fc51872b4821770167
|
||||
8902fb43c569e4d3ec5bd143bfa8cb6bf2836780
|
||||
|
||||
The first line of this file holds the git revision number of the last
|
||||
merge done from the gofrontend repository.
|
||||
|
@ -521,13 +521,8 @@ symtogo() {
|
||||
if ! expr "$s" : '^[^.]*\.[^.]*$' >/dev/null 2>&1; then
|
||||
continue
|
||||
fi
|
||||
if [ -z "${result}" ]; then
|
||||
result="${s}"
|
||||
else
|
||||
result="${result} ${s}"
|
||||
fi
|
||||
echo "$s"
|
||||
done
|
||||
echo "$result" | sed -e 's/ /\n/g'
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user