summaryrefslogtreecommitdiff
path: root/vault.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vault.sh')
-rwxr-xr-xvault.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/vault.sh b/vault.sh
index e44bff92..4fa1a03b 100755
--- a/vault.sh
+++ b/vault.sh
@@ -10,6 +10,10 @@ shift 2
file=$(realpath --relative-to "${BASH_SOURCE%/*}" "$file")
env_group=${file%%/*}
+if [ $env_group = "files" ]; then
+ tmp=$(realpath --relative-to "${BASH_SOURCE%/*}/files" "$file")
+ env_group=${tmp%%/*}
+fi
cd "${BASH_SOURCE%/*}"
source common/utils.sh