aboutsummaryrefslogtreecommitdiff
path: root/sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc')
-rw-r--r--sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc b/sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc
index 798158742160..a1da710d0bf1 100644
--- a/sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc
+++ b/sysutils/google-compute-engine-oslogin/files/patch-nss__cache_nss__cache.cc
@@ -6,8 +6,8 @@
// File paths for the nss cache file.
-static const char kDefaultFilePath[] = "/etc/oslogin_passwd.cache";
-static const char kDefaultBackupFilePath[] = "/etc/oslogin_passwd.cache.bak";
-+static const char kDefaultFilePath[] = "/usr/local/etc/oslogin_passwd.cache";
-+static const char kDefaultBackupFilePath[] = "/usr/local/etc/oslogin_passwd.cache.bak";
++static const char kDefaultFilePath[] = "%%PREFIX%%/etc/oslogin_passwd.cache";
++static const char kDefaultBackupFilePath[] = "%%PREFIX%%/etc/oslogin_passwd.cache.bak";
// Local NSS Cache size. This affects the maximum number of passwd entries per
// http request.