diff options
| author | Who? Me?! <mark-i-m@users.noreply.github.com> | 2020-10-08 16:08:25 -0500 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2020-10-08 17:11:36 -0400 |
| commit | ecc0b6daef7db43cb3e6c6abd12942e6e95549c4 (patch) | |
| tree | bf69e5f84d5f66eaf2113946ffc7464c4cc46f93 /src/doc/rustc-dev-guide/ci | |
| parent | e81601f62f8c9d29972912a9efd984d4615d96ab (diff) | |
| download | rust-ecc0b6daef7db43cb3e6c6abd12942e6e95549c4.tar.gz rust-ecc0b6daef7db43cb3e6c6abd12942e6e95549c4.zip | |
Lol logic is hard
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Diffstat (limited to 'src/doc/rustc-dev-guide/ci')
| -rwxr-xr-x | src/doc/rustc-dev-guide/ci/linkcheck.sh | 2 |
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 db6b35a5b7f..6979e98678b 100755 --- a/src/doc/rustc-dev-guide/ci/linkcheck.sh +++ b/src/doc/rustc-dev-guide/ci/linkcheck.sh @@ -9,7 +9,7 @@ if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then # running in cron job echo "Doing full link check." elif [ "$CI" = "true" ] ; then # running in PR CI build - if [ -n "$TRAVIS_COMMIT_RANGE" ]; then + if [ -z "$TRAVIS_COMMIT_RANGE" ]; then echo "error: unexpected state: COMMIT_RANGE must be non-empty in CI" exit 1 fi |
