allow extra arguments to svn

git-svn-id: file:///home/svn/framework3/trunk@12535 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2011-05-03 23:58:41 +00:00
parent 9c712f1481
commit 179d16cbc3
1 changed files with 4 additions and 2 deletions

View File

@ -13,9 +13,11 @@ $stderr.puts "[*] Attempting to update the Metasploit Framework..."
$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 "[*] Please hit enter to exit"
$stderr.puts ""