Issue 6813 in pharo: Pharo-2.0-One-Click shell script - broken symlink resolution

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 6813 in pharo: Pharo-2.0-One-Click shell script - broken symlink resolution

pharo
Status: New
Owner: ----
Labels: Type-Bug

New issue 6813 by [hidden email]: Pharo-2.0-One-Click shell script -  
broken symlink resolution
http://code.google.com/p/pharo/issues/detail?id=6813

(commented for clarity)

DIR=`dirname $0` #obtain dir of the link
ROOT=`readlink -f "$DIR"` #resolve link. Which is pointless
                           #because this is always a dir, for which
                           #readlink is identity

should be

DIR=`readlink -f $0` #resolve symlink
ROOT=`dirname $DIR` #obtain dir of the resolved path

And I remember reporting exactly the same bug for the shell script of  
Pharo1.4-One-Click.



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6813 in pharo: Pharo-2.0-One-Click shell script - broken symlink resolution

pharo
Updates:
        Status: Duplicate
        Mergedinto: 6718

Comment #1 on issue 6813 by [hidden email]: Pharo-2.0-One-Click  
shell script - broken symlink resolution
http://code.google.com/p/pharo/issues/detail?id=6813

Yes, 1.4 and 2.0 share the same code for now for the one-click...

I will merge this into the other report


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker