my $stage_upload = File::Spec->catfile($Stage_dir, $upload_file);
my $stage_signature = File::Spec->catfile($Stage_dir, $sig_file);
- my $pubfinal = File::Spec::Unix->catfile(@directory, $install_as);
+ my $pubfinal = File::Spec::Unix->catfile(pub => @directory, $install_as);
my $final_upload = File::Spec->catfile
($Public_dir, @directory, $install_as);
my $final_signature = File::Spec->catfile
if ($header->{options}{replace}) {
archive_filepair([File::Spec::Unix->splitdir($header->{directory})],
$upload_file);
- ftp_syslog('info', "overwrote $final_upload with uploaded version");
+ ftp_syslog('info', "overwrote $pubfinal with uploaded version");
$notification_str .=
- "Archived and overwrote $final_upload with uploaded version\n";
+ "Archived and overwrote $pubfinal with uploaded version\n";
} else {
throw processing_error => command => $step,
summary => $pubfinal." exists and 'replace' was not selected";