Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Bug fix to /usr/didbs/current testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhams committed Oct 31, 2019
1 parent 54101ea commit 0526e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DidbsUtils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ sub compatibledidbscurrent
my($dirMajVer,$dirGenVer,$dirMinVer,$dirRest) =
$dirBehindLink =~ m/(\d)_(\d)_(\d)[^_]*(_.+)/;
$verbose && didbsprint "Matched $dirMajVer $dirGenVer $dirMinVer $dirRest\n";
my $expectedWidthIsaCompiler = "_n32_mips3_" . $didbscompiler;
my $expectedWidthIsaCompiler = "_n32_mips3_" .
($didbscompiler eq "gcc" ? "gcc" : "mp");
if( rindex($dirRest,$expectedWidthIsaCompiler) == 0 ) {
$verbose && didbsprint "Elf width, ISA, Compiler OK\n";
# Version check min is 0.1.7 (starting from 0.1.7)
Expand Down

0 comments on commit 0526e17

Please sign in to comment.