]> iEval git - gruntmaster-daemon.git/commitdiff
Pass HOME environment variable to jobs. Python needs it.
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 28 Jan 2014 13:03:52 +0000 (15:03 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 28 Jan 2014 13:03:52 +0000 (15:03 +0200)
gruntmaster-exec

index ffdc7bfc3f4ef84a7b083fff1a493f6776f1031a..d11803fa6156d6d1880a4815923f5378ad73bb3a 100755 (executable)
@@ -12,5 +12,5 @@ my ($mlimit, $olimit, @args) = @ARGV;
 setrlimit RLIMIT_AS, $mlimit, $mlimit or die $! if $mlimit;
 setrlimit RLIMIT_FSIZE, $olimit, $olimit or die $! if $olimit;
 
-%ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH});
+%ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH}, HOME => $ENV{PATH});
 exec @args;
This page took 0.022077 seconds and 4 git commands to generate.