mirror of
https://github.com/luzifer-docker/argo-crypt.git
synced 2024-12-20 22:31:17 +00:00
Remove git-crypt dir check
This commit is contained in:
parent
b1e0fe76e2
commit
b7e67d134d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
$(dirname $0)/git.bin "$@"
|
$(dirname $0)/git.bin "$@"
|
||||||
EC=$?
|
EC=$?
|
||||||
|
|
||||||
if [ "$1" = "checkout" -a -d ".git-crypt" -a -f ".git-crypt-key" -a ! "$GIT_CRYPT_RUNNING" = "true" ]; then
|
if [ "$1" = "checkout" -a -f ".git-crypt-key" -a ! "$GIT_CRYPT_RUNNING" = "true" ]; then
|
||||||
export GIT_CRYPT_RUNNING=true
|
export GIT_CRYPT_RUNNING=true
|
||||||
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="${VAULT_ROLE_ID:-}")
|
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="${VAULT_ROLE_ID:-}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue