1
0
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:
Akemi 2017-11-11 19:21:21 +01:00
parent fb1d3caa9e
commit 007cd24c2b

View File

@ -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",