allow extra arguments to svn
git-svn-id: file:///home/svn/framework3/trunk@12535 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
9c712f1481
commit
179d16cbc3
|
@ -13,9 +13,11 @@ $stderr.puts "[*] Attempting to update the Metasploit Framework..."
|
||||||
$stderr.puts "[*]"
|
$stderr.puts "[*]"
|
||||||
$stderr.puts ""
|
$stderr.puts ""
|
||||||
|
|
||||||
system("svn update")
|
wait = (ARGV.shift.to_s == "wait")
|
||||||
|
|
||||||
if ARGV.shift.to_s == "wait"
|
system("svn", "update", *ARGV)
|
||||||
|
|
||||||
|
if wait
|
||||||
$stderr.puts ""
|
$stderr.puts ""
|
||||||
$stderr.puts "[*] Please hit enter to exit"
|
$stderr.puts "[*] Please hit enter to exit"
|
||||||
$stderr.puts ""
|
$stderr.puts ""
|
||||||
|
|
Loading…
Reference in New Issue