aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorelliottcable2009-09-22 13:47:40 -0800
committerelliottcable2009-09-22 13:47:40 -0800
commitb8c17e90f703e6e327a2c307be706d8269caf717 (patch)
tree9569aa8976a61a7a9098b850734780cbc4d258a7 /Library/Formula
parent51018acf79f222c8147fbd2b1fcc119d3dccb9d8 (diff)
downloadhomebrew-b8c17e90f703e6e327a2c307be706d8269caf717.tar.bz2
`#caveats` expects me to return a string, I don’t have to `#puts` it myself.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ec2-api-tools.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/ec2-api-tools.rb b/Library/Formula/ec2-api-tools.rb
index 8a0c4507d..58239bb6d 100644
--- a/Library/Formula/ec2-api-tools.rb
+++ b/Library/Formula/ec2-api-tools.rb
@@ -14,8 +14,7 @@ class Ec2ApiTools <Formula
end
def caveats
- puts <<-EOS
-==============================================================================
+ return <<-EOS
Before you can utilize the EC2 API tools, you must export several environment
variables to your $SHELL. The easiest way to do this is to add them to your
dotfiles. If you’re running the `bash` shell (the default), you’ll want to add
@@ -39,7 +38,6 @@ directory, `~/.ec2`, and then add the following to your profile file:
export EC2_PRIVATE_KEY="$(/bin/ls $HOME/.ec2/pk-*.pem)"
export EC2_CERT="$(/bin/ls $HOME/.ec2/cert-*.pem)"
-==============================================================================
EOS
end