diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-11-22 15:40:07 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-11-22 15:40:07 +0000 | 
| commit | 9939c9f857d63e299a140b0e0dadc1b488129579 (patch) | |
| tree | ec730da0357dac37cc82688dfbfd6351b6b6c1a0 /lib/custodian/protocoltest | |
| parent | 918d964adee64d0a14fc80797def1070c39061b3 (diff) | |
  "ftp://ftp.example.com/  must run ftp" + "rsync://...../" are now both permitted.
Diffstat (limited to 'lib/custodian/protocoltest')
| -rw-r--r-- | lib/custodian/protocoltest/rsync.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lib/custodian/protocoltest/rsync.rb b/lib/custodian/protocoltest/rsync.rb index 8b4e84c..293f67c 100644 --- a/lib/custodian/protocoltest/rsync.rb +++ b/lib/custodian/protocoltest/rsync.rb @@ -52,6 +52,10 @@ module Custodian          # Save the host          #          @host  = line.split( /\s+/)[0] +        if ( @host =~ /^rsync:\/\/([^\/]+)\/?/ ) +          @host = $1.dup +        end +          #          # Save the port | 
