Commit 827651b0 by Ian Lance Taylor

libgo: simplify gotest script to avoid sed substitution to \n

    
    Reviewed-on: https://go-review.googlesource.com/c/145057

From-SVN: r265541
parent 075b562c
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() { ...@@ -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'
} }
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment