Skip to content

Commit

Permalink
Fix dev/bisect.sh
Browse files Browse the repository at this point in the history
This script is meant to run against many GAP versions, including older
ones, which don't have ForceQuitGap. But all have FORCE_QUIT_GAP. So use
that.
  • Loading branch information
fingolfin committed Aug 25, 2023
1 parent ed50a6b commit 65f32d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/bisect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ echo '
# if ErrorLevel is not defined, something is very wrong, so skip the commit
if not IsBound(ErrorLevel) then
Print("Panic, ErrorLevel not defined, skipping this commit\\n");
ForceQuitGap(125);
FORCE_QUIT_GAP(125);
fi;
# intercept any further break loops and again, bail out
OnBreak:=function()
Print("Panic, break loop was triggered, skipping this commit\\n");
ForceQuitGap(125);
FORCE_QUIT_GAP(125);
end;
# check if we are in an error handler...
Expand All @@ -125,7 +125,7 @@ if ErrorLevel > 0 then
else
# ... for any other error: tell git to skip this commit
Print("Panic, GAP run into an error during startup, skipping this commit\\n");
ForceQuitGap(125);
FORCE_QUIT_GAP(125);
fi;
fi;
Expand Down

0 comments on commit 65f32d1

Please sign in to comment.