From: Martin Mares Date: Tue, 5 Jun 2007 15:28:48 +0000 (+0200) Subject: A couple of fixes to library paths. X-Git-Tag: python-dummy-working~388 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f8d8a091ce25581ea862ee242305a8591e292c18;p=moe.git A couple of fixes to library paths. --- diff --git a/submit/remote-status b/submit/remote-status index aa13379..21d8b95 100755 --- a/submit/remote-status +++ b/submit/remote-status @@ -6,8 +6,8 @@ use warnings; BEGIN { defined $ENV{"MO_ROOT"} or die "Please set MO_ROOT to the contest root directory first.\n"; } -use lib $ENV{"MO_ROOT"} . "/lib/perl5"; -use lib "."; ### FIXME +use lib $ENV{"MO_ROOT"} . "/submit"; +use lib $ENV{"MO_ROOT"} . "/submit/lib/perl5"; use MO::Submit; use Sherlock::Object; diff --git a/submit/remote-submit b/submit/remote-submit index 543ed7a..2091708 100755 --- a/submit/remote-submit +++ b/submit/remote-submit @@ -6,8 +6,8 @@ use warnings; BEGIN { defined $ENV{"MO_ROOT"} or die "Please set MO_ROOT to the contest root directory first.\n"; } -use lib $ENV{"MO_ROOT"} . "/lib/perl5"; -use lib "."; ### FIXME +use lib $ENV{"MO_ROOT"} . "/submit"; +use lib $ENV{"MO_ROOT"} . "/submit/lib/perl5"; use MO::Submit; use Sherlock::Object;