From 80e490847143248bd93decbe7e73535f85f05909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Rasc=C3=A3o?= Date: Sat, 18 Aug 2018 09:59:07 +0000 Subject: [PATCH] Allow per-command configuration of custom secrets dir (#247) Typical use case is when you want different people to have access to some files and other people access to other different files. --- src/_utils/_git_secret_tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_utils/_git_secret_tools.sh b/src/_utils/_git_secret_tools.sh index 0d23e565..399f5d49 100644 --- a/src/_utils/_git_secret_tools.sh +++ b/src/_utils/_git_secret_tools.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Folders: -_SECRETS_DIR=".gitsecret" +_SECRETS_DIR=${SECRETS_DIR:-".gitsecret"} _SECRETS_DIR_KEYS="${_SECRETS_DIR}/keys" _SECRETS_DIR_PATHS="${_SECRETS_DIR}/paths"