diff options
| author | Mike McQuaid | 2013-09-27 17:46:17 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-27 17:46:27 +0100 |
| commit | 9d8d8cc8bb61d9d2fe55317c67b235f66de652e3 (patch) | |
| tree | 7ff0e4b503449ad308837e3962aa6a582017b09c /Library/Formula | |
| parent | 5a2d4328402a0e6a3d71cb1959099b92107ef931 (diff) | |
| download | homebrew-9d8d8cc8bb61d9d2fe55317c67b235f66de652e3.tar.bz2 | |
qt, qt5: fix ARGV audit warning.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt.rb | 6 | ||||
| -rw-r--r-- | Library/Formula/qt5.rb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 0c90d07ae..fc1bcf9e6 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -22,9 +22,9 @@ class Qt < Formula depends_on "d-bus" => :optional depends_on "mysql" => :optional - odie 'qt: --with-qtdbus has been renamed to --with-d-bus' if ARGV.include? '--with-qtdbus' - odie 'qt: --with-demos-examples is no longer supported' if ARGV.include? '--with-demos-examples' - odie 'qt: --with-debug-and-release is no longer supported' if ARGV.include? '--with-debug-and-release' + odie 'qt: --with-qtdbus has been renamed to --with-d-bus' if build.include? 'with-qtdbus' + odie 'qt: --with-demos-examples is no longer supported' if build.include? 'with-demos-examples' + odie 'qt: --with-debug-and-release is no longer supported' if build.include? 'with-debug-and-release' def install ENV.universal_binary if build.universal? diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 5627e3a01..5b17c3f77 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -22,9 +22,9 @@ class Qt5 < Formula depends_on "d-bus" => :optional depends_on "mysql" => :optional - odie 'qt5: --with-qtdbus has been renamed to --with-d-bus' if ARGV.include? '--with-qtdbus' - odie 'qt5: --with-demos-examples is no longer supported' if ARGV.include? '--with-demos-examples' - odie 'qt5: --with-debug-and-release is no longer supported' if ARGV.include? '--with-debug-and-release' + odie 'qt5: --with-qtdbus has been renamed to --with-d-bus' if build.include? 'with-qtdbus' + odie 'qt5: --with-demos-examples is no longer supported' if build.include? 'with-demos-examples' + odie 'qt5: --with-debug-and-release is no longer supported' if build.include? 'with-debug-and-release' def install ENV.universal_binary if build.universal? |
