Fix: can publish on foundation ref storage

This commit is contained in:
Laurent Destailleur 2016-02-07 01:05:53 +01:00
parent adb66eddf1
commit 426f6541e6

View File

@ -1154,8 +1154,10 @@ if ($nboftargetok) {
} }
else else
{ {
$destFolder="$NEWPUBLISH"; $filenameonly=$file;
print "Publish file ".$file." to $NEWPUBLISH\n"; $filenameonly =~ s{.*/}{}; # removes path
$destFolder="$NEWPUBLISH/$filenameonly";
print "Publish file ".$file." to $NEWPUBLISH/".$filenameonly."\n";
} }
# mkdir # mkdir