Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable locking for now
  • Loading branch information
moritz committed Oct 22, 2014
1 parent b9ab238 commit a857d10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/EvalbotExecuter.pm
Expand Up @@ -155,11 +155,14 @@ sub _auto_execute {
open STDERR, ">&", $fh;
# TODO: avoid hardcoded path
open STDIN, "<", glob '~/evalbot/stdin';

=for comment disabled for now, causes problems that need to be debugged
my $lock;
if (!$executer->{nolock} && !($lock = try_lock($lock_name)) ) {
print "Rebuild in progress\n";
exit 1;
}
=cut
if ($executer->{chdir}){
chdir $executer->{chdir}
or confess "Can't chdir to '$executer->{chdir}': $!";
Expand Down

0 comments on commit a857d10

Please sign in to comment.