Now, really fixed (and tested) the export option in Mac

pull/474/head
Eduardo Bellido Bellido 2015-05-13 23:09:03 +02:00
parent 9d7aa3b882
commit 98f5be98dc
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function __awskeys_export {
if [[ -n "${p_keys}" ]]; then
for p_key in ${p_keys[@]}; do
local key="${p_key%=*}"
export "${key^^}=${p_key#*=}"
export "$(echo ${key} | tr [:lower:] [:upper:])=${p_key#*=}"
done
export AWS_DEFAULT_PROFILE="$1"
else