Comment 4 for bug 117575

Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote :

Possible solution, since the stuff to deal with the symlinks is OK in the scrip but somebody missed to pass the resulting "progbase" variable to the main process:

--- /usr/bin/firefox 2007-06-13 15:37:26.000000000 +0200
+++ /usr/bin/firefox 2007-06-13 15:39:37.000000000 +0200
@@ -111,6 +111,7 @@
     bn=`basename "$progname"`
     cd `dirname "$progname"`
     progname=`/bin/ls -l "$bn" | sed -e 's/^.* -> //' `
+ progbase="$bn"
     if [ ! -x "$progname" ]; then
       break
     fi