[Pharo-project] Bug in Pharo-1.4-14438-OneClick.sh
Hi, it seems the script shell does not handle paths with spaces in their names under Linux. Replacing in Pharo-1.4-14438-OneClick.sh ROOT = `readlink -f $(dirname $0)` by DIR=`dirname "$0"` ROOT=`readlink -f "$DIR"` seems to solve the problem. Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
On Tue, May 22, 2012 at 3:53 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
it seems the script shell does not handle paths with spaces in their names under Linux.
Thank you for your report. I added it to: http://code.google.com/p/pharo/issues/detail?id=5950 -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
Hi. Another little fix. In the linux I use, zenity ignore the directory change in Pharo-1.4 one-click.sh (cd "$RESOURCES" ), showing my home directory for default when open the dialog. Maybe in Ubuntu work fine, but I don't have one for test. I changed de logic, putting a value in variable "image" in advance, before open the dialog, and then zenity show the Resource directory, with the default image selected if it exists. I attached my version of script. Regards. 2012/5/22 Damien Cassou <damien.cassou@gmail.com>
On Tue, May 22, 2012 at 3:53 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
it seems the script shell does not handle paths with spaces in their names under Linux.
Thank you for your report. I added it to: http://code.google.com/p/pharo/issues/detail?id=5950
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
Hi, On Tue, May 22, 2012 at 9:56 PM, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
I attached my version of script.
thank you very much. I updated http://code.google.com/p/pharo/issues/detail?id=5950. Thanks -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
participants (3)
-
Damien Cassou -
Gastón Dall' Oglio -
Goubier Thierry