diff --git a/lib/tfenv-exec.sh b/lib/tfenv-exec.sh index 66af4cd9..c2791047 100644 --- a/lib/tfenv-exec.sh +++ b/lib/tfenv-exec.sh @@ -29,7 +29,7 @@ function realpath-relative-to() { export -f realpath-relative-to; function tfenv-exec() { - for _arg in ${@:1}; do + for _arg in "${@}"; do if [[ "${_arg}" == -chdir=* ]]; then chdir="${_arg#-chdir=}"; log 'debug' "Found -chdir arg: ${chdir}";