Fix borg remote path usage

This commit is contained in:
Andras Schmelczer 2026-05-21 21:17:20 +01:00
parent 7e7653518e
commit 642796f85b

View file

@ -29,7 +29,11 @@ configure_environment() {
# optional variables
local indexed_var_name="BORG_REMOTE_PATH_${index}"
if [[ -n "${!indexed_var_name}" ]]; then
export BORG_REMOTE_PATH="${!indexed_var_name}"
else
unset BORG_REMOTE_PATH
fi
[[ $all_vars_set == true ]]
}