Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(darwin): RuntimeDir trailing slash
In later versions of macOS (e.g. Ventura), the command used to get a runtime directory (e.g. `getconf DARWIN_USER_TEMP_DIR`) returns a trailing slash. When using a configuration like: ``` sops.defaultSecretsMountPoint = "%r/secrets.d"; ``` The final path is going to contain a double slash in the suffix of the path, an example: ``` /var/<random>/<hash>//secrets.d ``` This commit ensures that the runtime dir will get the trailing '/' character removed.
- Loading branch information