diff options
| author | Adam Vandenberg | 2013-06-08 16:33:00 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-08 16:33:00 -0700 |
| commit | bfde34a404e9b09aaf4005961e8ef7d9a5923bf9 (patch) | |
| tree | a8fcd70c74a7c853f3f4020b67a28e217d8a2adb /Library/Formula | |
| parent | 5730f7ebbe100aa12c7bece35cf74c6b81157615 (diff) | |
| download | homebrew-bfde34a404e9b09aaf4005961e8ef7d9a5923bf9.tar.bz2 | |
cmake: simplify test slightly
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cmake.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index aa8098058..af781d8cf 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -49,7 +49,7 @@ class Cmake < Formula end test do - File.open('CMakeLists.txt', 'w') {|f| f.write('find_package(Ruby)') } + (testpath/'CMakeLists.txt').write('find_package(Ruby)') system "#{bin}/cmake", '.' end end |
