There is a problem when scidExecutable points to a symlink with a relative
path, scidExeDir is set to a relative path and Scid can't find neither books or
bases, at least under mac.
The patch at the bottom fixes the issue, but I couldn't reproduce other cases
when scidExecutable points to a symlink.
--- a/tcl/start.tcl
+++ b/tcl/start.tcl
@@ -148,6 +151,10 @@ set ::tree::mask::recentMask {}
set scidExecutable [info nameofexecutable]
if {[file type $scidExecutable] == "link"} {
set scidExeDir [file dirname [file readlink $scidExecutable]]
+ if {[file pathtype $scidExeDir] == "relative"} {
+ set scidExeDir [file dirname [file join [file dirname $scidExecutable]\
+ [file readlink $scidExecutable]]]
+ }
} else {
set scidExeDir [file dirname $scidExecutable]
}
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users