X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Futil%2Fdirpath.c;h=ec8374d65654c23f3085a5d3ddc2b58faa641168;hp=1bb27b307fb7953a9c2bc6a90142572dad9c7e9e;hb=9175ce36fbd575bf6a9f146a45930c6f8e580584;hpb=9d50b935e36ef7831f5172f1ac8c8dee52d61710 diff --git a/src/util/dirpath.c b/src/util/dirpath.c index 1bb27b3..ec8374d 100644 --- a/src/util/dirpath.c +++ b/src/util/dirpath.c @@ -222,6 +222,11 @@ static void initDirPathArray(void) strcpy(dirPathArray[AFSDIR_CLIENT_VICE_DIRPATH_ID], afsClntDirPath); pathp = dirPathArray[AFSDIR_CLIENT_ETC_DIRPATH_ID]; +#ifdef AFS_DARWIN_ENV + if (access(AFSDIR_ALTERNATE_CLIENT_ETC_DIR, F_OK) == 0) + AFSDIR_CLIENT_DIRPATH(pathp, AFSDIR_ALTERNATE_CLIENT_ETC_DIR); + else +#endif AFSDIR_CLIENT_DIRPATH(pathp, AFSDIR_CLIENT_ETC_DIR); #endif /* AFS_NT40_ENV */