Dist-Zilla-BeLike-CSJEWELL

changeset 22:e83e5c5ca9fd

Didn't need the remote filename...

(since the name was not a string)
author Curtis Jewell <csjewell@cpan.org>
date Fri Aug 13 12:01:54 2010 -0600 (2010-08-13)
parents b91341d98f06
children 59601d1912fb
files lib/Dist/Zilla/Plugin/CSJEWELL/FTPUploadToOwnSite.pm
line diff
     1.1 --- a/lib/Dist/Zilla/Plugin/CSJEWELL/FTPUploadToOwnSite.pm	Fri Aug 13 11:56:28 2010 -0600
     1.2 +++ b/lib/Dist/Zilla/Plugin/CSJEWELL/FTPUploadToOwnSite.pm	Fri Aug 13 12:01:54 2010 -0600
     1.3 @@ -59,7 +59,7 @@
     1.4  	  or $self->log_fatal(
     1.5  		'Could not change remote site directory to' . $self->directory() );
     1.6  
     1.7 -	my $remote_file = $ftp->put( $archive, $archive );
     1.8 +	my $remote_file = $ftp->put($archive);
     1.9  
    1.10  	if ( $remote_file ne $archive ) {
    1.11  		$self->log_fatal( 'Could not upload file: ' . $ftp->message() );