aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/colloquypush.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/colloquypush.rb')
-rw-r--r--Library/Formula/colloquypush.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/colloquypush.rb b/Library/Formula/colloquypush.rb
index 24c720cd4..d79059223 100644
--- a/Library/Formula/colloquypush.rb
+++ b/Library/Formula/colloquypush.rb
@@ -7,8 +7,9 @@ class Colloquypush < Formula
depends_on 'znc'
def install
- Dir.chdir("znc")
- system "znc-buildmod", "colloquy.cpp"
- system "install", "-m", "0755", "colloquy.so", %x[znc-config --moddir].strip()
+ cd "znc" do
+ system "znc-buildmod", "colloquy.cpp"
+ system "install", "-m", "0755", "colloquy.so", %x[znc-config --moddir].strip()
+ end
end
end