Bugs item #1663435, was opened at 2007-02-19 06:35
Message generated for change (Settings changed) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1663435&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Application
Group: v11
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stuart Prescott (themill)
>Assigned to: Nicolas (nicove)
Summary: symlink detection in jmol.sh broken for relative links

Initial Comment:
I just unpacked the jmol tarball into /usr/local/share/jmol/ and then to put 
jmol in my path I did this:

cd /usr/local/bin

ln -s ../share/jmol/jmol.sh ./jmol

And then jmol didn't work:

           Jmol could not find its installed files.

If, however, I did the following:

ln -s /usr/local/share/jmol/jmol.sh ./jmol

then it works fine.

So.... two suggestions for you:

* in the jmol script, also search for /usr/local/share as well as /usr/share. 
/usr/share should only be touched by the distro packaging system (apt, yum, 
emerge etc) while /usr/local/share is for the sysadmin to monkey with.

* in the jmol.sh script, change your regexp to be '/.*' not '.*/.*' as what you 
have currently just looks for any slash in the path not necessarily one at the 
start

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1663435&group_id=23629

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to