Ignore relative paths in PATH in Subprocess.pathSearch()
Used by Utilities.Internal.subprocess() if a bare command is given
This commit is contained in:
parent
95f6d2aa72
commit
982d087987
1 changed files with 3 additions and 0 deletions
|
@ -162,6 +162,9 @@ function modify_omni {
|
|||
# Disable unwanted components
|
||||
remove_line '(RemoteSettings|services-|telemetry|Telemetry|URLDecorationAnnotationsService)' components/components.manifest
|
||||
|
||||
# Ignore relative paths in PATH in Subprocess.pathSearch(), used when bare command is passed to Utilities.Internal.subprocess()
|
||||
replace_line 'let path = PathUtils.join\(dir, bin\);' 'if (!dir.startsWith("\/")) continue; let path = PathUtils.join(dir, bin);' modules/subprocess/subprocess_unix.sys.mjs
|
||||
|
||||
# Remove unwanted files
|
||||
rm modules/FxAccounts*
|
||||
# Causes a startup error -- try an empty file or a shim instead?
|
||||
|
|
Loading…
Reference in a new issue