Skip to content

Commit 8d74798

Browse files
committed
[sanitizer] Assume local build if BUILDBOT_SCHEDULER is undefined
1 parent 72c2e39 commit 8d74798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function buildbot_update {
145145
git status
146146
git rev-list --pretty --max-count=1 HEAD
147147
# FIXME: Workaround for https://github.com/llvm/llvm-zorg/issues/250
148-
[[ "${SKIP_OLD:-1}" == "0" ]] || [[ "${BUILDBOT_SCHEDULER}" == "force-build-scheduler" ]] || (git log -1 --after='3 hours ago' | grep .) || {
148+
[[ "${SKIP_OLD:-1}" == "0" ]] || [[ ! -v BUILDBOT_SCHEDULER ]] || [[ "${BUILDBOT_SCHEDULER}" == "force-build-scheduler" ]] || (git log -1 --after='3 hours ago' | grep .) || {
149149
echo Revision is not recent enough
150150
exit 1
151151
}

0 commit comments

Comments
 (0)