diff --git a/Formula/sleuthkit.rb b/Formula/sleuthkit.rb index 0d4cb6501a..990202248f 100644 --- a/Formula/sleuthkit.rb +++ b/Formula/sleuthkit.rb @@ -7,7 +7,7 @@ class Sleuthkit < Formula head 'https://github.com/sleuthkit/sleuthkit.git' - if ARGV.build_head? + if build.head? depends_on :autoconf depends_on :automake depends_on :libtool @@ -19,13 +19,13 @@ class Sleuthkit < Formula def patches # required for new-ish libewf releases (API change) # fixed in the upcoming sleuthkit 4.x - if ARGV.build_stable? + if build.stable? "http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch" end end def install - system "./bootstrap" if ARGV.build_head? + system "./bootstrap" if build.head? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install"