Bugs item #1663435, was opened at 2007-02-19 12:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to