use shorter .

This commit is contained in:
2020-11-25 13:20:28 +01:00
parent 10fa2de780
commit 0d9daeec64
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
source $HOME/.bin/restic_common
. $HOME/.bin/restic_common
export RESTIC_PASSWORD="${RESTIC_PASSWORD}"
restic -r $RESTIC_REPOSITORY unlock

View File

@@ -21,7 +21,7 @@ read_config() {
exit 1
fi
source ./env 2> /dev/null || source $HOME/.config/restic/env 2> /dev/null || source /etc/restic/env 2> /dev/null
. $HOME/.config/restic/env 2> /dev/null || . /etc/restic/env 2> /dev/null
}
info() { printf "\n\e[1m%s\e[0m\n" "$*" >&2; }