GNOME Bugzilla – Bug 546478
Firefox directory is not found on Gentoo
Last modified: 2008-08-22 00:57:36 UTC
On Gentoo, the path to run-mozilla.sh is /usr/lib/mozilla-firefox.
Created attachment 115934 [details] [review] Patch for conduit/conduit I suggest to apply the attached patch to conduit/conduit.
I suggest to apply the attached patch to conduit/conduit.
Created attachment 115935 [details] [review] conduit/conduit.patch This patch redirects stderr to /dev/null, in case a startup message like $ conduit ls: cannot access /usr/lib*/firefox*: No such file or directory INFO: FOUND FIREFOX LIBS AT /usr/lib/mozilla-firefox ... is not wanted.
This appears to be a bashism, and only works when I put /bin/bash at the top line. Any idea why?
Created attachment 116275 [details] [review] Updated to explicity select /bin/bash
(In reply to comment #4) > This appears to be a bashism, and only works when I put /bin/bash at the top > line. Any idea why? Oh, I didn't notice this because on my system /bin/sh links to /bin/bash. The Bourne shell really does not support brace expansion[1]. If Bourne shell compatibility is needed, the ls can of course simply be replaced with ls -d /usr/lib*/firefox* /usr/lib*/mozilla-firefox* 2> /dev/null [1] http://www.gnu.org/software/bash/manual/html_node/Major-Differences-From-The-Bourne-Shell.html#Major-Differences-From-The-Bourne-Shell
Christian, would you mind commenting on bug #545464 for me please. Can you spot any bashisms in that particular case?
Created attachment 116785 [details] [review] Removed /bin/bash dependency I suggest this change which just needs a Bourne shell to work.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.