]> git.sesse.net Git - remoteglot-book/commitdiff
Fix some paths after git rewriting.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 Dec 2014 23:55:31 +0000 (00:55 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 Dec 2014 23:55:31 +0000 (00:55 +0100)
www/opening-stats.pl

index 47bae771d4b3eb8b37ce46e9f242ff50e8765c40..06f67b26931905884642f75c9210b03f7e56f842 100755 (executable)
@@ -7,14 +7,14 @@ use lib '..';
 use Position;
 use ECO;
 
-ECO::unpersist("../book/openings.txt");
+ECO::unpersist("../openings.txt");
 
 my $cgi = CGI->new;
 my $fen = $cgi->param('fen');
 my $pos = Position->from_fen($fen);
 my $hex = unpack('H*', $pos->bitpacked_fen);
-open my $fh, "-|", "../book/binlookup", "../book/open.mtbl", $hex
-       or die "../book/binlookup: $!";
+open my $fh, "-|", "../binlookup", "../open.mtbl", $hex
+       or die "../binlookup: $!";
 
 my $opening;