diff --git a/update_psa_helpers b/update_psa_helpers index e4bea51..f3e2206 100755 --- a/update_psa_helpers +++ b/update_psa_helpers @@ -37,7 +37,7 @@ copy () { readarray -td' ' files <<< "$1" for f in ${files[@]}; do if grep -qE "^.*[.]conf.*$" <<< ${f}; then - local __f="${psa_config}/${f}" + local __f="${psa_config_dir}/${f}" if ! cp ${__f} /etc/psa_config; then log_error "$func:${LINENO}: cannot cp ${__f} /etc/psa_config" return 1