From dc3d19f5d7977bfa3eda1af4aa5696a10a4aebf1 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 29 Dec 2020 18:05:13 +0100 Subject: [PATCH] Respect $fathom_cmdline. --- remoteglot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remoteglot.pl b/remoteglot.pl index 48dbf96..97003ac 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -620,7 +620,7 @@ sub complete_using_tbprobe { return if ($pos->num_pieces() > 7); my $fen = $pos->fen(); - my $pgn_text = `fathom --path=/srv/syzygy "$fen"`; + my $pgn_text = `$remoteglotconf::fathom_cmdline "$fen"`; my $pgn = Chess::PGN::Parse->new(undef, $pgn_text); return if (!defined($pgn) || !$pgn->read_game() || ($pgn->result ne '0-1' && $pgn->result ne '1-0')); $pgn->quick_parse_game; -- 2.39.2