diff --git a/aws-cli/run.sh b/aws-cli/run.sh index 121f7b5..8ebcb61 100755 --- a/aws-cli/run.sh +++ b/aws-cli/run.sh @@ -183,7 +183,8 @@ exec() { local source_dir="$1" if [[ ${source_dir} = "" ]]; then - __warn "You have not provided a directory, using current path: ${localDir}" + source_dir=$(pwd -P) + __warn "You have not provided a directory, using current path: ${source_dir}" __msg "Continue? [(y)/n]" read CONTINUE if [[ ${CONTINUE} != "" ]] && [[ ${CONTINUE} != "y" ]] && [[ ${CONTINUE} != "Y" ]]; then