Fix aws cli exec

This commit is contained in:
Arnie 2018-01-09 15:34:18 +01:00
parent e6320dde0a
commit b10452ecf5

View File

@ -183,7 +183,8 @@ exec() {
local source_dir="$1" local source_dir="$1"
if [[ ${source_dir} = "" ]]; then 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]" __msg "Continue? [(y)/n]"
read CONTINUE read CONTINUE
if [[ ${CONTINUE} != "" ]] && [[ ${CONTINUE} != "y" ]] && [[ ${CONTINUE} != "Y" ]]; then if [[ ${CONTINUE} != "" ]] && [[ ${CONTINUE} != "y" ]] && [[ ${CONTINUE} != "Y" ]]; then