diff options
| author | Adam Vandenberg | 2012-07-30 12:47:27 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-08 22:01:38 -0700 |
| commit | dd75b180eb86880e26fba95330d51d5edb5b1e23 (patch) | |
| tree | 60757483d0c92ec96c84676db67cfaf0f55a8165 /Library/Formula | |
| parent | aa2c1eb6ab58b82e1b6a8ce1604f6c895a6b4ac0 (diff) | |
| download | homebrew-dd75b180eb86880e26fba95330d51d5edb5b1e23.tar.bz2 | |
zsh: use options dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/zsh.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb index 0870a06b2..0af911703 100644 --- a/Library/Formula/zsh.rb +++ b/Library/Formula/zsh.rb @@ -10,9 +10,7 @@ class Zsh < Formula skip_clean :all - def options - [['--disable-etcdir', 'Disable the reading of Zsh rc files in /etc']] - end + option 'disable-etcdir', 'Disable the reading of Zsh rc files in /etc' def install args = %W[ @@ -29,7 +27,7 @@ class Zsh < Formula --with-tcsetpgrp ] - args << '--disable-etcdir' if ARGV.include? '--disable-etcdir' + args << '--disable-etcdir' if build.include? 'disable-etcdir' system "./configure", *args |
