Skip to content

Commit 7347473

Browse files
authored
Merge pull request #618 from rust-lang/tshepang-patch-3
adjust for downstream branch name change
2 parents 742fbf5 + 03983cc commit 7347473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def git(args):
8787
f.write("/src/tools/linkchecker/")
8888

8989
# Avoid fetching the whole history
90-
git(["fetch", "--depth=1", "origin", "master"])
91-
git(["checkout", "master"])
90+
git(["fetch", "--depth=1", "origin", "main"])
91+
git(["checkout", "main"])
9292

9393
if not bin.is_file():
9494
subprocess.run(["cargo", "build", "--release"], cwd=src, check=True)

0 commit comments

Comments
 (0)