aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2010-01-16 15:48:56 +0000
committerMax Howell2010-01-16 15:48:56 +0000
commit31af639b7bee1326b42fcc1146b82c28cc9bd8e2 (patch)
treee1f287d9b23f00f2da263c5674a4ec62d27016af
parentd1c3800be447608789ae967764574478b3df194d (diff)
downloadhomebrew-31af639b7bee1326b42fcc1146b82c28cc9bd8e2.tar.bz2
chomp whoami usage for plists
Fixes #424
-rw-r--r--Library/Formula/memcached.rb2
-rw-r--r--Library/Formula/mongodb.rb2
-rw-r--r--Library/Formula/postgresql.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb
index acd82b2f4..e08408a97 100644
--- a/Library/Formula/memcached.rb
+++ b/Library/Formula/memcached.rb
@@ -44,7 +44,7 @@ Add "-d" to start it as a daemon.
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
- <string>#{`whoami`}</string>
+ <string>#{`whoami`.chomp}</string>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>
</dict>
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index 1868059eb..1144b087e 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -72,7 +72,7 @@ EOS
<key>KeepAlive</key>
<true/>
<key>UserName</key>
- <string>#{`whoami`}</string>
+ <string>#{`whoami`.chomp}</string>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>
<key>StandardErrorPath</key>
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index e58a732a7..372c8ee3b 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -100,7 +100,7 @@ To install gems without sudo, see the Homebrew wiki.
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
- <string>#{`whoami`}</string>
+ <string>#{`whoami`.chomp}</string>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>
</dict>