File 0623-Use-string-tokens-instead-of-string-lexemes-on-OTP-1.patch of Package erlang

From 9938d335f519c4edc34aed805beb28f7e5c84483 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Mon, 8 Apr 2019 16:44:47 +0200
Subject: [PATCH] Use string:tokens instead of string:lexemes on OTP 19

---
 lib/common_test/src/test_server_node.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/common_test/src/test_server_node.erl b/lib/common_test/src/test_server_node.erl
index ad6d7dea76..96b719c242 100644
--- a/lib/common_test/src/test_server_node.erl
+++ b/lib/common_test/src/test_server_node.erl
@@ -821,7 +821,7 @@ ubuntu_release(Fd, DistroId, Rel) ->
                             NewRel = lists:map(fun (N) ->
                                                        list_to_integer(N)
                                                end,
-                                               string:lexemes(RelList, ".")),
+                                               string:tokens(RelList, ".")),
                             ubuntu_release(Fd, DistroId, NewRel);
                         nomatch ->
                             ubuntu_release(Fd, DistroId, Rel)
-- 
2.16.4

openSUSE Build Service is sponsored by