From 59026be03102e0ab8a83f335a18a7c2b342a1a98 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 27 Mar 2010 21:18:32 +0100 Subject: [PATCH] mop: mo-score-mop reads everything from the cwd --- mop/score/mo-score-mop.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mop/score/mo-score-mop.sh b/mop/score/mo-score-mop.sh index fc6c6a2..20c20b4 100755 --- a/mop/score/mo-score-mop.sh +++ b/mop/score/mo-score-mop.sh @@ -26,7 +26,7 @@ close CT; print STDERR 0+keys %users, "\n"; print STDERR "Scanning teoretical results... "; -if (open (EX, "mop/score/teorie.txt")) { +if (open (EX, "teorie.txt")) { while () { chomp; (/^$/ || /^#/) && next; @@ -131,13 +131,13 @@ while ($i < @table) { print STDERR "OK\n"; if ($tex) { - open HDR,"mop/score/listina.hdr" or die "Cannot open file mop/score/listina.hdr with TeX template!"; + open HDR,"listina.hdr" or die "Cannot open file listina.hdr with TeX template!"; while () {print; } close HDR; foreach $r (@table) { print join('&',@$r), "\\cr\n";} - open FTR,"mop/score/listina.ftr" or die "Cannot open file mop/score/listina.ftr with TeX template!"; + open FTR,"listina.ftr" or die "Cannot open file listina.ftr with TeX template!"; while () {print; } close FTR; } else { -- 2.39.2