X-Git-Url: https://git.exim.org/buildfarm-client.git/blobdiff_plain/96445fd354298e32feffae810de2136050915c62..3912c3d0d041f53eba0bc079ae9e5e72bece892d:/run_cron diff --git a/run_cron b/run_cron deleted file mode 100755 index 278084e..0000000 --- a/run_cron +++ /dev/null @@ -1,25 +0,0 @@ -#!/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') { - die "$0: found .git dir, but git is not available\n" - if not 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: diff --git a/run_cron b/run_cron new file mode 120000 index 0000000..022fd6b --- /dev/null +++ b/run_cron @@ -0,0 +1 @@ +run_branches \ No newline at end of file