Commit 0207b4f1 authored by Son Nguyen's avatar Son Nguyen

Correct the path to temporary language repo list for testing

Change-Id: I08c2a50cb51e14ace5064ee3835fa862888d2569
parent a98010c3
......@@ -68,9 +68,9 @@ print STDERR "Checking langpacks for updates: " . `date \"+%Y-%m-%d %H:%M:%S\"`;
# there, try to get an up-to-date one out of the mahara-scripts repository
# (allows updates to the repo list without having to redeploy the package).
my $repolist;
if ( -f "$SCRIPTS/language-repos.txt" ) {
print STDERR "Using repository list in $SCRIPTS/language-repos.txt\n";
open $repofh, '<', "$SCRIPTS/language-repos.txt" or die $!;
if ( -f "$DATA/language-repos.txt" ) {
print STDERR "Using repository list in $DATA/language-repos.txt\n";
open $repofh, '<', "$DATA/language-repos.txt" or die $!;
local $/ = undef;
$repolist = <$repofh>;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment