diff options
| author | Adam Vandenberg | 2010-06-10 19:39:15 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 19:39:15 -0700 |
| commit | a05a0d85ad26b020002be14444f4d2343ade5fc3 (patch) | |
| tree | 555ae02cdc66e9cf038eda385cd9ffbc2229d33a /Library | |
| parent | 658f338ef94b1b561d651d2c931ab1ad7e8a8cf4 (diff) | |
| download | homebrew-a05a0d85ad26b020002be14444f4d2343ade5fc3.tar.bz2 | |
Fix: attr doesn't take a list.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 3 | ||||
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 06cca3859..92689d0ff 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -44,7 +44,8 @@ RECOMMENDED_GCC_42 = (MACOS_VERSION >= 10.6) ? 5646 : 5577 class ExecutionError <RuntimeError - attr :exit_status, :command + attr :exit_status + attr :command def initialize cmd, args = [], es = nil @command = cmd diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index dbe3d1687..a12cc1f71 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -29,7 +29,8 @@ TEST_FOLDER = Pathname.new(ABS__FILE__).parent.realpath # Note: These exceptions duplicate those defined in globals. # Perhaps the same definitions should be used in both places. class ExecutionError <RuntimeError - attr :exit_status, :command + attr :exit_status + attr :command def initialize cmd, args = [], es = nil @command = cmd |
