Comment 5 for bug 117575

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

Here is the right patch, set progbase from last progname assignement:

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