From d914a6b982ce61f80e45b3746f0554a1124fe3eb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 30 May 2009 23:49:10 -0400 Subject: [PATCH] Fixed buildbot script bugs. --- tools/buildbot/bootstrap.pl | 2 +- tools/buildbot/symstore.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"; }