compiler: Eliminate accidental loop in GHC.SysTools.BaseDir
As noted in #20757 (closed), GHC.SysTools.BaseDir.findToolDir
previously
contained an loop, which would be triggered in the case that the search
failed.
Closes #20757 (closed).
As noted in #20757 (closed), GHC.SysTools.BaseDir.findToolDir
previously
contained an loop, which would be triggered in the case that the search
failed.
Closes #20757 (closed).