Adds a quick wrapper to svn update
git-svn-id: file:///home/svn/framework3/trunk@10742 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
933eb3f6e6
commit
ff7162aa2e
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
msfbase = __FILE__
|
||||||
|
while File.symlink?(msfbase)
|
||||||
|
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Dir.chdir(File.dirname(msfbase))
|
||||||
|
|
||||||
|
$stderr.puts "[*]"
|
||||||
|
$stderr.puts "[*] Attempting to update the Metasploit Framework..."
|
||||||
|
$stderr.puts "[*]"
|
||||||
|
system("svn update")
|
Loading…
Reference in New Issue