aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Caudill2009-12-12 14:08:29 -0500
committerMax Howell2009-12-22 02:52:05 +0000
commit653ae0df43df44fae75fef251fa3d746de5de4d8 (patch)
tree7c11f6ce0bb947823c5410ffe18e728bdfe6229a
parent6f254e458c8b2c8cbca47b8a32a41f8537256a88 (diff)
downloadhomebrew-653ae0df43df44fae75fef251fa3d746de5de4d8.tar.bz2
Chomp newlines in system output
-rw-r--r--Library/Formula/mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 72ff0ec30..0f5809551 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -79,7 +79,7 @@ Or start manually with:
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
- <string>#{`whoami`}</string>
+ <string>#{`whoami`.chomp}</string>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>
</dict>