diff --git a/tools/buildbot/helpers.pm b/tools/buildbot/helpers.pm index ab2e3cad..1e3e13ea 100644 --- a/tools/buildbot/helpers.pm +++ b/tools/buildbot/helpers.pm @@ -15,8 +15,8 @@ sub GitRevNum my ($cd, $text, $rev); $cd = Cwd::cwd(); - chdir($path); - $text = `git rev-list --count HEAD`; + chdir($path); + $text = `git rev-list --count HEAD`; chdir($cd); chomp $text;