Skip to content

Commit

Permalink
use printf instead of echo for more shell consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
akoo1010 committed May 22, 2019
1 parent 88ac618 commit eb383ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample-proxies/oauth-client-credentials/invoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ printf "\nRetrieved secret: $secret\n"

printf "\n\nBase64 encrypt the key:secret values for the Basic Auth header: "

auth=`echo -n $key:$secret | base64`
auth=$(printf $key:$secret | base64)

printf "\nBasic: $auth"

Expand Down

0 comments on commit eb383ba

Please sign in to comment.