]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgo: simplify gotest script to avoid sed substitution to \n
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 26 Oct 2018 18:36:44 +0000 (18:36 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 26 Oct 2018 18:36:44 +0000 (18:36 +0000)
    Reviewed-on: https://go-review.googlesource.com/c/145057

From-SVN: r265541

gcc/go/gofrontend/MERGE
libgo/testsuite/gotest

index f56ac802ad08dd71e1fdc532d529c292e1bc6280..bf2b28f1bc6d96a5f552db11f1941f2c89027f20 100644 (file)
@@ -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.
index a82386aab3a7f4995925c208c1e2e92569614de0..dba7408a07cfa563106f6e83dde697500e8ec285 100755 (executable)
@@ -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'
 }
 
 {