diff options
| author | Jack Nagel | 2013-03-25 13:35:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-26 00:02:41 -0500 |
| commit | b9c3983bb1edb824b1c1e604d61c30565fe10cc8 (patch) | |
| tree | 400b3b3b9dd76ad4621270461f225f934b897044 /Library | |
| parent | 422f1bac5e6a51b4b09a37793fd7d1d6605a41aa (diff) | |
| download | homebrew-b9c3983bb1edb824b1c1e604d61c30565fe10cc8.tar.bz2 | |
omniorb: fix test
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/omniorb.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/omniorb.rb b/Library/Formula/omniorb.rb index f60cdfa6b..92390cfed 100644 --- a/Library/Formula/omniorb.rb +++ b/Library/Formula/omniorb.rb @@ -49,12 +49,12 @@ class Omniorb < Formula "python" + `python -c 'import sys;print(sys.version[:3])'`.strip end - def test - system "omniidl", "-h" + test do + system "#{bin}/omniidl", "-h" - if build.include? 'python' - system "python", "-c", %(import omniORB; print 'omniORBpy', omniORB.__version__) - end + if build.include? 'python' + system "python", "-c", %(import omniORB; print 'omniORBpy', omniORB.__version__) + end end end |
