Patch level :10.0 342

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
0001367: installazione patch su postazione client
Descrizione  l'installazione su client di rete produce l'errore allegato, la procedura si blocca. Per poter proseguire ho copiato manualmente gli eseguibili dal server.


git-svn-id: svn://10.65.10.50/trunk@19023 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-06-15 09:48:20 +00:00
parent 4f755c2453
commit 7579abc404

View File

@ -747,12 +747,13 @@ bool TInstaller_mask::is_zip_file(const TFilename& n) const
bool TInstaller_mask::copy_file(const TFilename& src, const TFilename& dst) const
{
bool ok = xvt_fsys_mkdir(dst.path()) != FALSE;
if (ok)
ok = ::fcopy(src, dst);
else
error_box(FR("Impossibile creare la cartella %s"), dst.path());
return ok;
// Crea la cartella di destinazione se necessario
const char* dstdir = dst.path();
if (*dstdir && !xvt_fsys_mkdir(dstdir))
return error_box(FR("Impossibile creare la cartella %s"), dst.path());
// Copia veramente il file
return ::fcopy(src, dst);
}
// sposta il file dal direttorio temporaneo a quello passato come destinazione