about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/ci/linkcheck.sh
diff options
context:
space:
mode:
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