aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2014-09-18 22:51:13 +0800
committerMike McQuaid2014-09-18 16:58:06 +0100
commit9999237a37091c38380751f023636e4c1ff1b844 (patch)
tree74eb7da0663ce321bad62cec8a0f2a4d7afada29 /Library
parentff385aaa01ed9247618e3d21a0412ac7a2116aea (diff)
downloadhomebrew-9999237a37091c38380751f023636e4c1ff1b844.tar.bz2
pox: general cleanup.
Closes #32399. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pow.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/Library/Formula/pow.rb b/Library/Formula/pow.rb
index 20a2fd795..b157d437e 100644
--- a/Library/Formula/pow.rb
+++ b/Library/Formula/pow.rb
@@ -1,18 +1,18 @@
-require 'formula'
+require "formula"
class Pow < Formula
- homepage 'http://pow.cx/'
- url 'http://get.pow.cx/versions/0.4.3.tar.gz'
- sha1 '7e1faf3c33588bc3e73fb3583265e050a48718b0'
+ homepage "http://pow.cx/"
+ url "http://get.pow.cx/versions/0.4.3.tar.gz"
+ sha1 "7e1faf3c33588bc3e73fb3583265e050a48718b0"
- depends_on 'node'
+ depends_on "node"
def install
- libexec.install Dir['*']
- (bin/'pow').write <<-EOS.undent
+ libexec.install Dir["*"]
+ (bin/"pow").write <<-EOS.undent
#!/bin/sh
- export POW_BIN="#{HOMEBREW_PREFIX}/bin/pow"
- exec "#{HOMEBREW_PREFIX}/bin/node" "#{libexec}/lib/command.js" "$@"
+ export POW_BIN="#{bin}/pow"
+ exec "#{HOMEBREW_PREFIX}/opt/node/bin/node" "#{libexec}/lib/command.js" "$@"
EOS
end