projects
/
gruntmaster-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update gruntmasterd to use postgres
[gruntmaster-daemon.git]
/
lib
/
Gruntmaster
/
Daemon
/
Generator
/
File.pm
diff --git
a/lib/Gruntmaster/Daemon/Generator/File.pm
b/lib/Gruntmaster/Daemon/Generator/File.pm
index acadf58c6ab5274438f36421dc33181f1b76658e..877eb4325b128b4b65ab13b176f149d003d5f0a1 100644
(file)
--- a/
lib/Gruntmaster/Daemon/Generator/File.pm
+++ b/
lib/Gruntmaster/Daemon/Generator/File.pm
@@
-18,8
+18,7
@@
sub generate{
if (exists $meta->{infile}) {
write_file 'input', $meta->{infile}[$test - 1]
} else {
if (exists $meta->{infile}) {
write_file 'input', $meta->{infile}[$test - 1]
} else {
- my $ct = defined $Gruntmaster::Data::contest ? "ct/$Gruntmaster::Data::contest" : '';
- copy "/var/lib/gruntmasterd/$ct/pb/$meta->{problem}/$test.in", 'input'
+ copy "/var/lib/gruntmasterd/pb/$meta->{problem}/$test.in", 'input'
}
}
}
}
This page took
0.009411 seconds
and
4
git commands to generate.