Development

Changeset 25989

You must first sign up to be able to contribute.

Changeset 25989

Show
Ignore:
Timestamp:
12/28/09 22:41:48 (3 years ago)
Author:
ornicar2
Message:

[Diem][dmChessPlugin] attempt to make old versions of crafty work on deprecated servers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/dmChessPlugin/lib/crafty/dmChessCrafty.php

    r25986 r25989  
    6666  protected function getPlayCommand($forsytheNotation) 
    6767  { 
    68     return sprintf("%s log=off ponder=off %s <<EOF 
     68    return sprintf("cd %s && %s log=off ponder=off %s <<EOF 
    6969setboard %s 
    7070move 
     
    7272quit 
    7373EOF", 
     74    dirname($this->getOption('result_file')), 
    7475    $this->getOption('path'), 
    7576    $this->getCraftyLevel(), 
    7677    $forsytheNotation, 
    77     $this->getOption('result_file'
     78    basename($this->getOption('result_file')
    7879    ); 
    7980  }