mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 16:43:28 +00:00
osx: fix the bundle $PATH yet again
we have 5 parameters for the string but only 4 were being used.
This commit is contained in:
parent
fb1d3caa9e
commit
007cd24c2b
@ -263,7 +263,7 @@ static void setup_bundle(int *argc, char *argv[])
|
||||
|
||||
NSDictionary *env = [[NSProcessInfo processInfo] environment];
|
||||
NSString *path_bundle = [env objectForKey:@"PATH"];
|
||||
NSString *path_new = [NSString stringWithFormat:@"%@:%@:%@:%@",
|
||||
NSString *path_new = [NSString stringWithFormat:@"%@:%@:%@:%@:%@",
|
||||
path_bundle,
|
||||
@"/usr/local/bin",
|
||||
@"/usr/local/sbin",
|
||||
|
Loading…
Reference in New Issue
Block a user