File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
@args = ARGV . dup
13
13
14
+ # May be changed
15
+ @configdir = File . expand_path ( File . join ( File . dirname ( msfbase ) , "data" , "svn" ) )
16
+
14
17
Dir . chdir ( File . dirname ( msfbase ) )
15
18
16
19
$stderr. puts "[*]"
32
35
# as a single argument via the multi-arg syntax for system() below.
33
36
# TODO: Test this spaces business. I don't buy it. -todb
34
37
@configdir_index = i
35
- @configdir = File . join ( File . dirname ( msfbase ) , "data" , "svn" )
36
38
end
37
39
end
38
40
39
41
@args . delete_at @wait_index if @wait_index
40
- @args . delete_at @configdir_index if @configdir_index
41
-
42
+ @args . push ( "--config-dir=#{ @configdir } " ) unless @configdir_index
42
43
@args . push ( "--non-interactive" )
43
- @args . push ( "--config-dir=#{ @configdir } " ) if @configdir_index
44
44
45
45
res = system ( "svn" , "cleanup" )
46
46
if res . nil?
You can’t perform that action at this time.
0 commit comments