Skip to content
This repository
Browse code

Fix more quoting issues

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit 8022bf4dc0f814d527965ed8ec7048f647c44ec5 1 parent e98d63a
Jack Nagel authored May 15, 2012

Showing 84 changed files with 92 additions and 88 deletions. Show diff stats Hide diff stats

  1. 2  Library/Formula/abyss.rb
  2. 2  Library/Formula/appledoc.rb
  3. 2  Library/Formula/apt-dater.rb
  4. 2  Library/Formula/arp-scan.rb
  5. 2  Library/Formula/autoconf.rb
  6. 2  Library/Formula/automake.rb
  7. 2  Library/Formula/bindfs.rb
  8. 2  Library/Formula/cdo.rb
  9. 2  Library/Formula/cfengine.rb
  10. 2  Library/Formula/checkstyle.rb
  11. 2  Library/Formula/clisp.rb
  12. 2  Library/Formula/cliweather.rb
  13. 2  Library/Formula/clojure.rb
  14. 2  Library/Formula/cmake.rb
  15. 2  Library/Formula/csup.rb
  16. 2  Library/Formula/daemon.rb
  17. 2  Library/Formula/dash.rb
  18. 2  Library/Formula/dmenu.rb
  19. 2  Library/Formula/dwatch.rb
  20. 2  Library/Formula/ezlupdate.rb
  21. 4  Library/Formula/fastjar.rb
  22. 2  Library/Formula/ffmbc.rb
  23. 2  Library/Formula/figlet.rb
  24. 2  Library/Formula/ftjam.rb
  25. 2  Library/Formula/fwknop.rb
  26. 2  Library/Formula/ghc.rb
  27. 2  Library/Formula/gmap-gsnap.rb
  28. 2  Library/Formula/gnu-arch.rb
  29. 2  Library/Formula/gnuplot.rb
  30. 2  Library/Formula/gsoap.rb
  31. 2  Library/Formula/hilite.rb
  32. 2  Library/Formula/htpdate.rb
  33. 2  Library/Formula/imapfilter.rb
  34. 2  Library/Formula/ispc.rb
  35. 2  Library/Formula/ivy.rb
  36. 2  Library/Formula/jcal.rb
  37. 2  Library/Formula/jigdo.rb
  38. 2  Library/Formula/jp2a.rb
  39. 2  Library/Formula/jpeginfo.rb
  40. 2  Library/Formula/justniffer.rb
  41. 2  Library/Formula/libidn.rb
  42. 2  Library/Formula/libtool.rb
  43. 2  Library/Formula/llvm.rb
  44. 2  Library/Formula/luarocks.rb
  45. 2  Library/Formula/maxima.rb
  46. 2  Library/Formula/md5sha1sum.rb
  47. 2  Library/Formula/monit.rb
  48. 2  Library/Formula/mydumper.rb
  49. 2  Library/Formula/ndiff.rb
  50. 2  Library/Formula/neko.rb
  51. 2  Library/Formula/open-cobol.rb
  52. 7  Library/Formula/pango.rb
  53. 2  Library/Formula/pdfgrep.rb
  54. 2  Library/Formula/pipebench.rb
  55. 2  Library/Formula/pixie.rb
  56. 2  Library/Formula/povray.rb
  57. 2  Library/Formula/primesieve.rb
  58. 2  Library/Formula/psftools.rb
  59. 2  Library/Formula/pyqwt.rb
  60. 2  Library/Formula/qt.rb
  61. 4  Library/Formula/rc.rb
  62. 2  Library/Formula/rsense.rb
  63. 2  Library/Formula/tal.rb
  64. 2  Library/Formula/tcpurify.rb
  65. 2  Library/Formula/the_silver_searcher.rb
  66. 2  Library/Formula/tkdiff.rb
  67. 2  Library/Formula/tmap.rb
  68. 2  Library/Formula/tmux.rb
  69. 2  Library/Formula/trafficserver.rb
  70. 2  Library/Formula/treecc.rb
  71. 2  Library/Formula/tup.rb
  72. 5  Library/Formula/urweb.rb
  73. 2  Library/Formula/uudeview.rb
  74. 2  Library/Formula/vala.rb
  75. 2  Library/Formula/valgrind.rb
  76. 2  Library/Formula/vimpc.rb
  77. 2  Library/Formula/wait_on.rb
  78. 2  Library/Formula/wbox.rb
  79. 2  Library/Formula/wdfs.rb
  80. 2  Library/Formula/web100clt.rb
  81. 2  Library/Formula/wget.rb
  82. 2  Library/Formula/wput.rb
  83. 2  Library/Formula/xclip.rb
  84. 2  Library/Formula/zsh.rb
2  Library/Formula/abyss.rb
@@ -23,6 +23,6 @@ def install
23 23
   end
24 24
 
25 25
   def test
26  
-    system "#{bin}/ABYSS --version"
  26
+    system "#{bin}/ABYSS", "--version"
27 27
   end
28 28
 end
2  Library/Formula/appledoc.rb
@@ -30,6 +30,6 @@ def caveats; <<-EOS
30 30
   end
31 31
 
32 32
   def test
33  
-    system "#{bin}/appledoc --version"
  33
+    system "#{bin}/appledoc", "--version"
34 34
   end
35 35
 end
2  Library/Formula/apt-dater.rb
@@ -23,7 +23,7 @@ def install
23 23
   end
24 24
 
25 25
   def test
26  
-    system "#{bin}/apt-dater -v"
  26
+    system "#{bin}/apt-dater", "-v"
27 27
   end
28 28
 end
29 29
 
2  Library/Formula/arp-scan.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/arp-scan -V"
  15
+    system "#{bin}/arp-scan", "-V"
16 16
   end
17 17
 end
2  Library/Formula/autoconf.rb
@@ -21,7 +21,7 @@ def install
21 21
   end
22 22
 
23 23
   def test
24  
-    system "#{bin}/autoconf --version"
  24
+    system "#{bin}/autoconf", "--version"
25 25
   end
26 26
 end
27 27
 
2  Library/Formula/automake.rb
@@ -24,6 +24,6 @@ def install
24 24
   end
25 25
 
26 26
   def test
27  
-    system "#{bin}/automake --version"
  27
+    system "#{bin}/automake", "--version"
28 28
   end
29 29
 end
2  Library/Formula/bindfs.rb
@@ -14,6 +14,6 @@ def install
14 14
   end
15 15
 
16 16
   def test
17  
-    system "#{bin}/bindfs -V"
  17
+    system "#{bin}/bindfs", "-V"
18 18
   end
19 19
 end
2  Library/Formula/cdo.rb
@@ -35,6 +35,6 @@ def install
35 35
   end
36 36
 
37 37
   def test
38  
-    system "#{bin}/cdo -h"
  38
+    system "#{bin}/cdo", "-h"
39 39
   end
40 40
 end
2  Library/Formula/cfengine.rb
@@ -25,6 +25,6 @@ def install
25 25
   end
26 26
 
27 27
   def test
28  
-    system "#{bin}/cf-agent -V"
  28
+    system "#{bin}/cf-agent", "-V"
29 29
   end
30 30
 end
2  Library/Formula/checkstyle.rb
@@ -21,7 +21,7 @@ def test
21 21
       (Pathname.pwd/"Test.java").write <<-EOS.undent
22 22
         public class Test{ }
23 23
       EOS
24  
-      system "#{bin}/checkstyle -c #{libexec}/sun_checks.xml -r Test.java"
  24
+      system "#{bin}/checkstyle", "-c", "#{libexec}/sun_checks.xml", "-r", "Test.java"
25 25
     end
26 26
   end
27 27
 end
2  Library/Formula/clisp.rb
@@ -59,7 +59,7 @@ def install
59 59
   end
60 60
 
61 61
   def test
62  
-    system "#{bin}/clisp --version"
  62
+    system "#{bin}/clisp", "--version"
63 63
   end
64 64
 end
65 65
 
2  Library/Formula/cliweather.rb
@@ -10,6 +10,6 @@ def install
10 10
   end
11 11
 
12 12
   def test
13  
-    system "#{bin}/cliweather 98027"
  13
+    system "#{bin}/cliweather", "98027"
14 14
   end
15 15
 end
2  Library/Formula/clojure.rb
@@ -38,6 +38,6 @@ def caveats; <<-EOS.undent
38 38
   end
39 39
 
40 40
   def test
41  
-    system "#{bin}/clj -e \"(println \\\"Hello World\\\")\""
  41
+    system "#{bin}/clj", "-e", '(println "Hello World")'
42 42
   end
43 43
 end
2  Library/Formula/cmake.rb
@@ -46,6 +46,6 @@ def install
46 46
   end
47 47
 
48 48
   def test
49  
-    system "#{bin}/cmake -E echo testing"
  49
+    system "#{bin}/cmake", "-E", "echo", "testing"
50 50
   end
51 51
 end
2  Library/Formula/csup.rb
@@ -13,6 +13,6 @@ def install
13 13
   end
14 14
 
15 15
   def test
16  
-    system "#{bin}/csup -v"
  16
+    system "#{bin}/csup", "-v"
17 17
   end
18 18
 end
2  Library/Formula/daemon.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/daemon --version"
  15
+    system "#{bin}/daemon", "--version"
16 16
   end
17 17
 end
2  Library/Formula/dash.rb
@@ -25,6 +25,6 @@ def install
25 25
   end
26 26
 
27 27
   def test
28  
-    system bin/'dash', '-c', 'echo Hello!'
  28
+    system "#{bin}/dash", "-c", "echo Hello!"
29 29
   end
30 30
 end
2  Library/Formula/dmenu.rb
@@ -11,6 +11,6 @@ def install
11 11
   end
12 12
 
13 13
   def test
14  
-    system "#{bin}/dmenu -v"
  14
+    system "#{bin}/dmenu", "-v"
15 15
   end
16 16
 end
2  Library/Formula/dwatch.rb
@@ -21,6 +21,6 @@ def install
21 21
 
22 22
   def test
23 23
     # '-h' is not actually an option, but it exits 0
24  
-    system "#{bin}/dwatch -h"
  24
+    system "#{bin}/dwatch", "-h"
25 25
   end
26 26
 end
2  Library/Formula/ezlupdate.rb
@@ -12,7 +12,7 @@ def install
12 12
     cd "support/ezlupdate-qt4.5/ezlupdate" do
13 13
       # Use the qmake installation done with brew
14 14
       # because others installations can make a mess
15  
-      system "#{HOMEBREW_PREFIX}/bin/qmake ezlupdate.pro"
  15
+      system "#{HOMEBREW_PREFIX}/bin/qmake", "ezlupdate.pro"
16 16
       system "make"
17 17
     end
18 18
     bin.install 'bin/macosx/ezlupdate'
4  Library/Formula/fastjar.rb
@@ -12,7 +12,7 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/fastjar -V"
16  
-    system "#{bin}/grepjar -V"
  15
+    system "#{bin}/fastjar", "-V"
  16
+    system "#{bin}/grepjar", "-V"
17 17
   end
18 18
 end
2  Library/Formula/ffmbc.rb
@@ -57,6 +57,6 @@ def caveats
57 57
   end
58 58
 
59 59
   def test
60  
-    system "#{bin}/ffmbc -h"
  60
+    system "#{bin}/ffmbc", "-h"
61 61
   end
62 62
 end
2  Library/Formula/figlet.rb
@@ -35,6 +35,6 @@ def install
35 35
   end
36 36
 
37 37
   def test
38  
-    system "#{bin}/figlet -f larry3d hello, figlet"
  38
+    system "#{bin}/figlet", "-f", "larry3d", "hello, figlet"
39 39
   end
40 40
 end
2  Library/Formula/ftjam.rb
@@ -6,7 +6,7 @@ class Ftjam < Formula
6 6
   md5 'e61304b370ba06f68082f0219a196576'
7 7
 
8 8
   def install
9  
-    system "./configure --prefix=#{prefix}"
  9
+    system "./configure", "--prefix=#{prefix}"
10 10
     system 'make'
11 11
     system 'make install'
12 12
   end
2  Library/Formula/fwknop.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/fwknop --version"
  15
+    system "#{bin}/fwknop", "--version"
16 16
   end
17 17
 end
2  Library/Formula/ghc.rb
@@ -58,7 +58,7 @@ def install
58 58
       opoo "The current version of haskell-platform will NOT work with this version of GHC!"
59 59
     end
60 60
 
61  
-    system "./configure --prefix=#{prefix}"
  61
+    system "./configure", "--prefix=#{prefix}"
62 62
     system "make install"
63 63
   end
64 64
 
2  Library/Formula/gmap-gsnap.rb
@@ -26,6 +26,6 @@ def caveats; <<-EOF.undent
26 26
   end
27 27
 
28 28
   def test
29  
-    system "#{bin}/gsnap --version"
  29
+    system "#{bin}/gsnap", "--version"
30 30
   end
31 31
 end
2  Library/Formula/gnu-arch.rb
@@ -16,6 +16,6 @@ def install
16 16
   end
17 17
 
18 18
   def test
19  
-    system "#{bin}/tla -V"
  19
+    system "#{bin}/tla", "-V"
20 20
   end
21 21
 end
2  Library/Formula/gnuplot.rb
@@ -56,6 +56,6 @@ def install
56 56
   end
57 57
 
58 58
   def test
59  
-    system "#{bin}/gnuplot --version"
  59
+    system "#{bin}/gnuplot", "--version"
60 60
   end
61 61
 end
2  Library/Formula/gsoap.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/soapcpp2 -v"
  15
+    system "#{bin}/soapcpp2", "-v"
16 16
   end
17 17
 end
2  Library/Formula/hilite.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    `#{bin}/hilite bash -c "echo 'stderr in red' >&2"`
  15
+    system "#{bin}/hilite", "bash", "-c", "echo 'stderr in red' >&2"
16 16
   end
17 17
 end
2  Library/Formula/htpdate.rb
@@ -14,6 +14,6 @@ def install
14 14
   end
15 15
 
16 16
   def test
17  
-    system "#{bin}/htpdate -h"
  17
+    system "#{bin}/htpdate", "-h"
18 18
   end
19 19
 end
2  Library/Formula/imapfilter.rb
@@ -22,6 +22,6 @@ def install
22 22
   end
23 23
 
24 24
   def test
25  
-    system "#{bin}/imapfilter -V"
  25
+    system "#{bin}/imapfilter", "-V"
26 26
   end
27 27
 end
2  Library/Formula/ispc.rb
@@ -11,6 +11,6 @@ def install
11 11
   end
12 12
 
13 13
   def test
14  
-    system "#{bin}/ispc -v"
  14
+    system "#{bin}/ispc", "-v"
15 15
   end
16 16
 end
2  Library/Formula/ivy.rb
@@ -16,6 +16,6 @@ def install
16 16
   end
17 17
 
18 18
   def test
19  
-    system "#{bin}/ivy -version"
  19
+    system "#{bin}/ivy", "-version"
20 20
   end
21 21
 end
2  Library/Formula/jcal.rb
@@ -21,7 +21,7 @@ def install
21 21
   end
22 22
 
23 23
   def test
24  
-    system "#{bin}/jcal -y"
  24
+    system "#{bin}/jcal", "-y"
25 25
     system "#{bin}/jdate"
26 26
   end
27 27
 end
2  Library/Formula/jigdo.rb
@@ -18,6 +18,6 @@ def install
18 18
   end
19 19
 
20 20
   def test
21  
-    system "#{bin}/jigdo-file -h"
  21
+    system "#{bin}/jigdo-file", "-h"
22 22
   end
23 23
 end
2  Library/Formula/jp2a.rb
@@ -14,6 +14,6 @@ def install
14 14
   end
15 15
 
16 16
   def test
17  
-    system "#{bin}/jp2a -V"
  17
+    system "#{bin}/jp2a", "-V"
18 18
   end
19 19
 end
2  Library/Formula/jpeginfo.rb
@@ -14,6 +14,6 @@ def install
14 14
   end
15 15
 
16 16
   def test
17  
-    system "#{bin}/jpeginfo --help"
  17
+    system "#{bin}/jpeginfo", "--help"
18 18
   end
19 19
 end
2  Library/Formula/justniffer.rb
@@ -28,7 +28,7 @@ def patches
28 28
   end
29 29
 
30 30
   def install
31  
-    system "./configure --prefix=#{prefix}"
  31
+    system "./configure", "--prefix=#{prefix}"
32 32
     system "make install"
33 33
   end
34 34
 
2  Library/Formula/libidn.rb
@@ -17,6 +17,6 @@ def install
17 17
   end
18 18
 
19 19
   def test
20  
-    system "#{bin}/idn --version"
  20
+    system "#{bin}/idn", "--version"
21 21
   end
22 22
 end
2  Library/Formula/libtool.rb
@@ -28,6 +28,6 @@ def caveats; <<-EOS.undent
28 28
   end
29 29
 
30 30
   def test
31  
-    system "#{bin}/glibtoolize --version"
  31
+    system "#{bin}/glibtoolize", "--version"
32 32
   end
33 33
 end
2  Library/Formula/llvm.rb
@@ -105,7 +105,7 @@ def install
105 105
   end
106 106
 
107 107
   def test
108  
-    system "#{bin}/llvm-config --version"
  108
+    system "#{bin}/llvm-config", "--version"
109 109
   end
110 110
 
111 111
   def caveats; <<-EOS.undent
2  Library/Formula/luarocks.rb
@@ -43,7 +43,7 @@ def install
43 43
 
44 44
   def test
45 45
     opoo "Luarocks test script installs 'lpeg'"
46  
-    system "#{bin}/luarocks install lpeg"
  46
+    system "#{bin}/luarocks", "install", "lpeg"
47 47
     system "lua", "-llpeg", "-e", 'print ("Hello World!")'
48 48
   end
49 49
 end
2  Library/Formula/maxima.rb
@@ -28,7 +28,7 @@ def install
28 28
   end
29 29
 
30 30
   def test
31  
-    system "#{bin}/maxima --batch-string='run_testsuite(); quit();'"
  31
+    system "#{bin}/maxima", "--batch-string='run_testsuite(); quit();'"
32 32
   end
33 33
 end
34 34
 
2  Library/Formula/md5sha1sum.rb
@@ -6,7 +6,7 @@ class Md5sha1sum < Formula
6 6
   md5 'a75c5e21071ffa66fad1001de040517a'
7 7
 
8 8
   def install
9  
-    system "./configure --prefix=#{prefix}"
  9
+    system "./configure", "--prefix=#{prefix}"
10 10
     system "make"
11 11
     bin.install 'md5sum'
12 12
     bin.install_symlink bin/'md5sum' => 'sha1sum'
2  Library/Formula/monit.rb
@@ -13,6 +13,6 @@ def install
13 13
   end
14 14
 
15 15
   def test
16  
-    system "#{bin}/monit -h"
  16
+    system "#{bin}/monit", "-h"
17 17
   end
18 18
 end
2  Library/Formula/mydumper.rb
@@ -40,6 +40,6 @@ def install
40 40
   end
41 41
 
42 42
   def test
43  
-    system "#{bin}/mydumper --version"
  43
+    system "#{bin}/mydumper", "--version"
44 44
   end
45 45
 end
2  Library/Formula/ndiff.rb
@@ -17,6 +17,6 @@ def install
17 17
   end
18 18
 
19 19
   def test
20  
-    system "#{bin}/ndiff --help"
  20
+    system "#{bin}/ndiff", "--help"
21 21
   end
22 22
 end
2  Library/Formula/neko.rb
@@ -9,7 +9,7 @@ class Neko < Formula
9 9
 
10 10
   def install
11 11
     ENV.deparallelize # parallel build fails
12  
-    system "yes s | make MACOSX=1 INSTALL_PREFIX=#{prefix}"
  12
+    system "yes s | make MACOSX=1 INSTALL_PREFIX='#{prefix}'"
13 13
     prefix.install %w{bin libs src}
14 14
   end
15 15
 end
2  Library/Formula/open-cobol.rb
@@ -15,6 +15,6 @@ def install
15 15
   end
16 16
 
17 17
   def test
18  
-    system "#{bin}/cobc --help"
  18
+    system "#{bin}/cobc", "--help"
19 19
   end
20 20
 end
7  Library/Formula/pango.rb
@@ -39,8 +39,11 @@ def install
39 39
 
40 40
   def test
41 41
     mktemp do
42  
-      system "#{bin}/pango-view -t 'test-image' --waterfall --rotate=10 --annotate=1 --header -q -o output.png"
43  
-      system "/usr/bin/qlmanage -p output.png"
  42
+      system "#{bin}/pango-view", "-t", "test-image",
  43
+                                  "--waterfall", "--rotate=10",
  44
+                                  "--annotate=1", "--header",
  45
+                                  "-q", "-o", "output.png"
  46
+      system "/usr/bin/qlmanage", "-p", "output.png"
44 47
     end
45 48
   end
46 49
 end
2  Library/Formula/pdfgrep.rb
@@ -15,6 +15,6 @@ def install
15 15
   end
16 16
 
17 17
   def test
18  
-    system "#{bin}/pdfgrep --version"
  18
+    system "#{bin}/pdfgrep", "--version"
19 19
   end
20 20
 end
2  Library/Formula/pipebench.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/pipebench -h"
  15
+    system "#{bin}/pipebench", "-h"
16 16
   end
17 17
 end
2  Library/Formula/pixie.rb
@@ -23,6 +23,6 @@ def install
23 23
   end
24 24
 
25 25
   def test
26  
-    system "#{bin}/rndr -v"
  26
+    system "#{bin}/rndr", "-v"
27 27
   end
28 28
 end
2  Library/Formula/povray.rb
@@ -24,7 +24,7 @@ def install
24 24
   def test
25 25
     ohai "Rendering all test scenes; this may take a while"
26 26
     mktemp do
27  
-      system "#{share}/povray-3.6/scripts/allscene.sh -o ."
  27
+      system "#{share}/povray-3.6/scripts/allscene.sh", "-o", "."
28 28
     end
29 29
   end
30 30
 end
2  Library/Formula/primesieve.rb
@@ -14,6 +14,6 @@ def install
14 14
   end
15 15
 
16 16
   def test
17  
-    system "#{bin}/primesieve -v"
  17
+    system "#{bin}/primesieve", "-v"
18 18
   end
19 19
 end
2  Library/Formula/psftools.rb
@@ -20,7 +20,7 @@ def test
20 20
     # The zip file has a fon in it, use fon2fnts to extrat to fnt
21 21
     mktemp do
22 22
       Pc8x8Font.new.brew do
23  
-        system "#{bin}/fon2fnts pc8x8.fon"
  23
+        system "#{bin}/fon2fnts", "pc8x8.fon"
24 24
         raise unless File.exist? "PC8X8_9.fnt"
25 25
       end
26 26
     end
2  Library/Formula/pyqwt.rb
@@ -39,7 +39,7 @@ def which_python
39 39
   end
40 40
 
41 41
   def test
42  
-    system "python -c 'from PyQt4 import Qwt5 as Qwt'"
  42
+    system "python", "-c", "from PyQt4 import Qwt5 as Qwt"
43 43
   end
44 44
 end
45 45
 
2  Library/Formula/qt.rb
@@ -113,7 +113,7 @@ def install
113 113
   end
114 114
 
115 115
   def test
116  
-    "#{bin}/qmake --version"
  116
+    system "#{bin}/qmake", "--version"
117 117
   end
118 118
 
119 119
   def caveats; <<-EOS.undent
4  Library/Formula/rc.rb
@@ -6,12 +6,12 @@ class Rc < Formula
6 6
   md5 '4a85e4b4e3a0a5d3803109c5b2dce710'
7 7
 
8 8
   def install
9  
-    system "./configure","--prefix=#{prefix}", "--mandir=#{man}", "--with-editline"
  9
+    system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--with-editline"
10 10
     system "make"
11 11
     system "make install"
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/rc -c 'echo $*' Hello!"
  15
+    system "#{bin}/rc", "-c", "echo Hello!"
16 16
   end
17 17
 end
2  Library/Formula/rsense.rb
@@ -30,6 +30,6 @@ def caveats
30 30
   end
31 31
 
32 32
   def test
33  
-    system "#{bin}/rsense version"
  33
+    system "#{bin}/rsense", "version"
34 34
   end
35 35
 end
2  Library/Formula/tal.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/tal /etc/passwd"
  15
+    system "#{bin}/tal", "/etc/passwd"
16 16
   end
17 17
 end
2  Library/Formula/tcpurify.rb
@@ -11,6 +11,6 @@ def install
11 11
   end
12 12
 
13 13
   def test
14  
-    system "#{bin}/tcpurify -v" # Using -v, as without that it returns -1
  14
+    system "#{bin}/tcpurify", "-v"
15 15
   end
16 16
 end
2  Library/Formula/the_silver_searcher.rb
@@ -29,6 +29,6 @@ def install
29 29
   end
30 30
 
31 31
   def test
32  
-    system "#{bin}/ag --version"
  32
+    system "#{bin}/ag", "--version"
33 33
   end
34 34
 end
2  Library/Formula/tkdiff.rb
@@ -10,6 +10,6 @@ def install
10 10
   end
11 11
 
12 12
   def test
13  
-    system "#{bin}/tkdiff --help"
  13
+    system "#{bin}/tkdiff", "--help"
14 14
   end
15 15
 end
2  Library/Formula/tmap.rb
@@ -20,6 +20,6 @@ def install
20 20
   end
21 21
 
22 22
   def test
23  
-    system "#{bin}/tmap -v"
  23
+    system "#{bin}/tmap", "-v"
24 24
   end
25 25
 end
2  Library/Formula/tmux.rb
@@ -33,6 +33,6 @@ def caveats; <<-EOS.undent
33 33
   end
34 34
 
35 35
   def test
36  
-    system "#{bin}/tmux -V"
  36
+    system "#{bin}/tmux", "-V"
37 37
   end
38 38
 end
2  Library/Formula/trafficserver.rb
@@ -31,6 +31,6 @@ def install
31 31
   end
32 32
 
33 33
   def test
34  
-    system "#{bin}/trafficserver status"
  34
+    system "#{bin}/trafficserver", "status"
35 35
   end
36 36
 end
2  Library/Formula/treecc.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/treecc -v"
  15
+    system "#{bin}/treecc", "-v"
16 16
   end
17 17
 end
2  Library/Formula/tup.rb
@@ -17,7 +17,7 @@ def install
17 17
   end
18 18
 
19 19
   def test
20  
-    system "#{bin}/tup -v"
  20
+    system "#{bin}/tup", "-v"
21 21
   end
22 22
 
23 23
   def caveats; <<-EOS.undent
5  Library/Formula/urweb.rb
@@ -16,8 +16,9 @@ class Urweb < Formula
16 16
   end
17 17
 
18 18
   def install
19  
-    system "aclocal && autoreconf -i --force"
20  
-    system "./configure --prefix=#{prefix}"
  19
+    system "aclocal"
  20
+    system "autoreconf -i --force"
  21
+    system "./configure", "--prefix=#{prefix}"
21 22
     system "make"
22 23
     system "make install"
23 24
   end
2  Library/Formula/uudeview.rb
@@ -13,6 +13,6 @@ def install
13 13
   end
14 14
 
15 15
   def test
16  
-    system "#{bin}/uudeview -V"
  16
+    system "#{bin}/uudeview", "-V"
17 17
   end
18 18
 end
2  Library/Formula/vala.rb
@@ -19,6 +19,6 @@ def install
19 19
   end
20 20
 
21 21
   def test
22  
-    system "#{bin}/valac --version"
  22
+    system "#{bin}/valac", "--version"
23 23
   end
24 24
 end
2  Library/Formula/valgrind.rb
@@ -28,6 +28,6 @@ def install
28 28
   end
29 29
 
30 30
   def test
31  
-    system "#{bin}/valgrind ls -l"
  31
+    system "#{bin}/valgrind", "ls", "-l"
32 32
   end
33 33
 end
2  Library/Formula/vimpc.rb
@@ -28,6 +28,6 @@ def install
28 28
   end
29 29
 
30 30
   def test
31  
-    system "#{bin}/vimpc -v"
  31
+    system "#{bin}/vimpc", "-v"
32 32
   end
33 33
 end
2  Library/Formula/wait_on.rb
@@ -14,6 +14,6 @@ def install
14 14
   end
15 15
 
16 16
   def test
17  
-    system "#{bin}/wait_on -v"
  17
+    system "#{bin}/wait_on", "-v"
18 18
   end
19 19
 end
2  Library/Formula/wbox.rb
@@ -11,6 +11,6 @@ def install
11 11
   end
12 12
 
13 13
   def test
14  
-    system "#{bin}/wbox www.google.com 1"
  14
+    system "#{bin}/wbox", "www.google.com", "1"
15 15
   end
16 16
 end
2  Library/Formula/wdfs.rb
@@ -17,6 +17,6 @@ def install
17 17
   end
18 18
 
19 19
   def test
20  
-    system "#{bin}/wdfs -v"
  20
+    system "#{bin}/wdfs", "-v"
21 21
   end
22 22
 end
2  Library/Formula/web100clt.rb
@@ -22,6 +22,6 @@ def install
22 22
   end
23 23
 
24 24
   def test
25  
-    system "#{bin}/web100clt -v"
  25
+    system "#{bin}/web100clt", "-v"
26 26
   end
27 27
 end
2  Library/Formula/wget.rb
@@ -35,6 +35,6 @@ def install
35 35
   end
36 36
 
37 37
   def test
38  
-    system "#{bin}/wget -O - www.google.com"
  38
+    system "#{bin}/wget", "-O", "-", "www.google.com"
39 39
   end
40 40
 end
2  Library/Formula/wput.rb
@@ -20,7 +20,7 @@ def install
20 20
   end
21 21
 
22 22
   def test
23  
-    system "#{bin}/wput --version"
  23
+    system "#{bin}/wput", "--version"
24 24
   end
25 25
 end
26 26
 
2  Library/Formula/xclip.rb
@@ -12,6 +12,6 @@ def install
12 12
   end
13 13
 
14 14
   def test
15  
-    system "#{bin}/xclip -version"
  15
+    system "#{bin}/xclip", "-version"
16 16
   end
17 17
 end
2  Library/Formula/zsh.rb
@@ -41,7 +41,7 @@ def install
41 41
   end
42 42
 
43 43
   def test
44  
-    system "#{bin}/zsh --version"
  44
+    system "#{bin}/zsh", "--version"
45 45
   end
46 46
 
47 47
   def caveats; <<-EOS.undent

0 notes on commit 8022bf4

Please sign in to comment.
Something went wrong with that request. Please try again.