Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1694377 - Firefox uses double leading slashes in MOZ_CMD_NAME, MOZ_LIB_DIR, etc.
Summary: Firefox uses double leading slashes in MOZ_CMD_NAME, MOZ_LIB_DIR, etc.
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 29
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-30 22:12 UTC by Evan Klitzke
Modified: 2019-04-01 08:30 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
Patch to remove the double leading underscores in the firefox wrapper scripts (deleted)
2019-03-30 22:12 UTC, Evan Klitzke
no flags Details | Diff

Description Evan Klitzke 2019-03-30 22:12:31 UTC
Created attachment 1549934 [details]
Patch to remove the double leading underscores in the firefox wrapper scripts

The current firefox.spec from fedpkg installs the shell wrapper scripts like /usr/bin/firefox and /usr/bin/firefox-wayland using two initial slashes in MOZ_CMD_NAME, MOZ_LIB_DIR, etc. This is harmless, but annoying as the processes look a bit weird in the process listings.

I modified the specfile I got from fedpkg with the patch here, and I've tested it and it seems to fix the issue for me. However, I'm also not sure if there could ever be a circumstance where the %{_prefix} macro would evaluate without a leading slash (in which case this patch wouldn't be correct).

Comment 1 Martin Stransky 2019-04-01 08:30:10 UTC
Added to git, thanks.


Note You need to log in before you can comment on or make changes to this bug.