mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
osx: let prefpane knows where binaries can be found
Starting from OS X 10.11, the OpenAFS binaries were moved to the following directories: /opt/openafs/bin and /opt/openafs/sbin. However, the OpenAFS prefpane is not aware of the change mentioned above. As a result, some functionalities provided by the OpenAFS prefpane are not working properly. To fix this problem, add the new paths to the proper environment variable. Change-Id: Idaa2f0329af2092cf9ad1d63f1a01300b150227a Reviewed-on: https://gerrit.openafs.org/12507 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
19599b5ef5
commit
a92a3a0675
@ -42,7 +42,7 @@
|
||||
NSString *result = nil;
|
||||
int status = 0;
|
||||
NSFileHandle *file = nil;
|
||||
NSDictionary *environment = [NSDictionary dictionaryWithObjectsAndKeys: @"$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin",@"PATH",nil];
|
||||
NSDictionary *environment = [NSDictionary dictionaryWithObjectsAndKeys: @"$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/openafs/bin:/opt/openafs/sbin",@"PATH",nil];
|
||||
|
||||
NSPipe *pipe = [NSPipe pipe];
|
||||
NSTask *taskToRun = [[NSTask alloc] init];
|
||||
|
Loading…
Reference in New Issue
Block a user