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
|
The first line of this file holds the git revision number of the last
|
||||||
merge done from the gofrontend repository.
|
merge done from the gofrontend repository.
|
||||||
|
|
|
@ -521,13 +521,8 @@ symtogo() {
|
||||||
if ! expr "$s" : '^[^.]*\.[^.]*$' >/dev/null 2>&1; then
|
if ! expr "$s" : '^[^.]*\.[^.]*$' >/dev/null 2>&1; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ -z "${result}" ]; then
|
echo "$s"
|
||||||
result="${s}"
|
|
||||||
else
|
|
||||||
result="${result} ${s}"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
echo "$result" | sed -e 's/ /\n/g'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue