resticw: fix install prefix
This commit is contained in:
@@ -125,7 +125,7 @@ eval "$(docopt "$@")" # See https://github.com/andsens/docopt.sh for the magic :
|
||||
|
||||
# Exit on error, unbound variable, pipe error
|
||||
set -euo pipefail
|
||||
ENV_DIR=/etc/restic
|
||||
ENV_DIR=$INSTALL_PREFIX/etc/restic
|
||||
|
||||
ERR_NO_SUCH_PROFILE=2
|
||||
ERR_PROFILE_NO_READ_PERM=3
|
||||
@@ -144,4 +144,3 @@ echo -e "‣ Using profile: ${__profile} -- (${profile_file})\n"
|
||||
|
||||
# shellcheck disable=SC2154,SC1090
|
||||
source "$profile_file" && restic "${_restic_arguments_line_[@]}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user