Skip to content

Commit

Permalink
Merge pull request oktadev#166 from sean-hart/bash_fix
Browse files Browse the repository at this point in the history
fix bash functions to work as documentation states
  • Loading branch information
AlainODea committed Aug 7, 2018
2 parents e428d64 + 1e76e58 commit a998a26
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ grep '^#OktaAWSCLI' "${bash_functions}" > /dev/null 2>&1
if [ $? -ne 0 ]
then
echo '
function withokta {
java -Djava.net.useSystemProxies com.okta.tools.WithOkta $@
}
function aws {
withokta "aws --profile $1" $@
}
function sls {
withokta "sls --stage $1" $@
withokta aws $@
}
' >> "${bash_functions}"
fi
Expand Down

0 comments on commit a998a26

Please sign in to comment.