aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel John2013-03-26 19:29:47 +0100
committerSamuel John2013-03-26 19:29:47 +0100
commitd253a6767077c321e14501d0cb7b5d64e6e75f8a (patch)
tree7ff1878b22897826f508f8561120b31237eb24ce /Library/Formula
parent201ad5649e3322f49999ad12af3875ab8bf4edde (diff)
downloadhomebrew-d253a6767077c321e14501d0cb7b5d64e6e75f8a.tar.bz2
yle-dl: Style and test does not dl stuff
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yle-dl.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/yle-dl.rb b/Library/Formula/yle-dl.rb
index cf5a28098..367993239 100644
--- a/Library/Formula/yle-dl.rb
+++ b/Library/Formula/yle-dl.rb
@@ -11,12 +11,10 @@ class YleDl < Formula
depends_on LanguageModuleDependency.new :python, 'pycrypto', 'Crypto'
def install
- system "make install SYS=darwin prefix=#{prefix} mandir=#{man}"
+ system "make", "install", "SYS=darwin", "prefix=#{prefix}", "mandir=#{man}"
end
test do
- news = "yle-areena-uutiset.flv"
- system "yle-dl --latestepisode --resume -o #{news} http://areena.yle.fi/?q=uutiset"
- File.exists?(news)
+ raise if (`#{bin}/yle-dl --help 2>&1` =~ /rtmpdump: This program dumps the media content streamed over RTMP/).nil?
end
end