Fix aws cli exec
This commit is contained in:
parent
e6320dde0a
commit
b10452ecf5
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user