build: use ARGV.interactive? instead of .flag?
This commit is contained in:
parent
92b6bcb77d
commit
007d174f43
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user