From 99008af1a3c5e033339ad01f1bc78483ec173f8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 2 Feb 2018 20:33:26 +0000 Subject: [PATCH] More portable vault mount --- tools/mount-vault | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mount-vault b/tools/mount-vault index 0a0c89bb..0fed2b5b 100755 --- a/tools/mount-vault +++ b/tools/mount-vault @@ -8,13 +8,13 @@ fi MOUNT_TARGET=$2 if [[ -z "$MOUNT_TARGET" ]]; then - MOUNT_TARGET=~/.vault + MOUNT_TARGET=$HOME/.vault fi mkdir -p "$MOUNT_TARGET" MOUNT_SOURCE=$1 if [[ -z "$MOUNT_SOURCE" ]]; then - MOUNT_SOURCE="~/vaults/vault.vera" + MOUNT_SOURCE="$HOME/vaults/vault.vera" fi if [[ -z "$VAULT_PASSWORD" ]]; then