+#!/usr/bin/env perl
+
+use 5.010;
+use strict;
+use warnings;
+use FindBin qw($Bin);
+
+chdir $Bin or die "$0: Can't chdir '$Bin': $!\n";
+
+# check if we've git available and if we've a cloned
+# client installation. FIXME: What to do, if we have
+# a 'detached' .git?
+if (-d '.git') {
+ my ($git) = grep { -x } map { "$_/git" } split /:/, $ENV{PATH};
+ system('git pull >/dev/null') == 0 or die $? >> 8;
+}
+
+# the process building the documentation seems to break
+# if PERL_UNICODE is set.
+delete $ENV{PERL_UNICODE};
+
+exec './run_branches', @ARGV;
+
+# vim:ts=8 et sw=4 ai si: