about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/ci/linkcheck.sh
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2024-12-30 01:22:22 -0800
committerGitHub <noreply@github.com>2024-12-30 17:22:22 +0800
commitcc9a6fa552069b0e69b6bfaa02cc39d2ee19625a (patch)
treeb57cde6f971e31e7381f186d9f0e83256da70fb9 /src/doc/rustc-dev-guide/ci/linkcheck.sh
parent6a8c200e6c4866bc5a80c9905916b8d875989c04 (diff)
downloadrust-cc9a6fa552069b0e69b6bfaa02cc39d2ee19625a.tar.gz
rust-cc9a6fa552069b0e69b6bfaa02cc39d2ee19625a.zip
Opt into, rather than out of, linkcheck (#2180)
This makes it less of a hassle to render the book locally.
Diffstat (limited to 'src/doc/rustc-dev-guide/ci/linkcheck.sh')
-rwxr-xr-xsrc/doc/rustc-dev-guide/ci/linkcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/ci/linkcheck.sh b/src/doc/rustc-dev-guide/ci/linkcheck.sh
index 9b06f67fc9f..e5184839be0 100755
--- a/src/doc/rustc-dev-guide/ci/linkcheck.sh
+++ b/src/doc/rustc-dev-guide/ci/linkcheck.sh
@@ -9,7 +9,7 @@ set_github_token() {
   jq '.config.output.linkcheck."http-headers"."github\\.com" = ["Authorization: Bearer $GITHUB_TOKEN"]'
 }
 
-if [ ! -z "$SKIP_LINKCHECK" ] ; then
+if [ -z "$ENABLE_LINKCHECK" ] ; then
   echo "Skipping link check."
   exit 0
 fi