File 2111-compiler-Update-smoke-test-script.patch of Package erlang

From 4758efeb6667941791774ac79d53f846f724ca9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Mon, 30 May 2022 19:17:37 +0200
Subject: [PATCH 1/7] compiler: Update smoke test script

---
 lib/compiler/scripts/smoke | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler/scripts/smoke b/lib/compiler/scripts/smoke
index ae31c923b8..98e5fd55df 100755
--- a/lib/compiler/scripts/smoke
+++ b/lib/compiler/scripts/smoke
@@ -29,7 +29,7 @@ clone_elixir() ->
         true ->
             GetHeadSHA1 = "cd elixir && git rev-parse --verify HEAD",
             Before = os:cmd(GetHeadSHA1),
-            cmd("cd elixir && git pull --ff-only origin master"),
+            cmd("cd elixir && git pull --ff-only origin main"),
             case os:cmd(GetHeadSHA1) of
                 Before ->
                     ok;
-- 
2.35.3

openSUSE Build Service is sponsored by