diff --git a/tools/buildbot/bootstrap.pl b/tools/buildbot/bootstrap.pl index 9cb2b585..4759d845 100755 --- a/tools/buildbot/bootstrap.pl +++ b/tools/buildbot/bootstrap.pl @@ -59,7 +59,7 @@ if ($^O eq "linux") } my ($build_type); $build_type = Build::GetBuildType(Build::PathFormat('tools/buildbot/build_type')); -if ($build_type == "dev") +if ($build_type eq "dev") { Build::Command(Build::PathFormat('tools/versionchanger.pl') . ' --buildstring="-dev"'); } diff --git a/tools/buildbot/symstore.pl b/tools/buildbot/symstore.pl index 9c2369c0..d3a9d533 100755 --- a/tools/buildbot/symstore.pl +++ b/tools/buildbot/symstore.pl @@ -25,11 +25,11 @@ $version .= '-hg' . Build::HgRevNum('.'); my ($build_type); $build_type = Build::GetBuildType(Build::PathFormat('tools/buildbot/build_type')); -if ($build_type == "dev") +if ($build_type eq "dev") { $build_type = "buildbot"; } -elsif ($build_type == "rel") +elsif ($build_type eq "rel") { $build_type = "release"; }