build: use ARGV.interactive? instead of .flag?

This commit is contained in:
Jack Nagel 2013-05-20 22:34:53 -05:00
parent 92b6bcb77d
commit 007d174f43

View File

@ -123,7 +123,7 @@ def install f
system "git init"
system "git add -A"
end
if ARGV.flag? '--interactive'
if ARGV.interactive?
ohai "Entering interactive mode"
puts "Type `exit' to return and finalize the installation"
puts "Install to this prefix: #{f.prefix}"