made minor changes to subversionmodel
This commit is contained in:
parent
6c03fe0bb4
commit
70627fb83c
@ -1047,11 +1047,12 @@ class SubversionModel extends Model
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (codepot_zip_dir ("{$tfname}.zip", $actual_tfname, $topdir, array('.svn')) === FALSE)
|
$zip_name = "{$tfname}.zip";
|
||||||
|
if (codepot_zip_dir ($zip_name, $actual_tfname, $topdir, array('.svn')) === FALSE)
|
||||||
{
|
{
|
||||||
codepot_delete_files ($actual_tfname, TRUE);
|
codepot_delete_files ($actual_tfname, TRUE);
|
||||||
@unlink ($tfname);
|
@unlink ($tfname);
|
||||||
@unlink ("{$tfname}.zip"); // delete potentially residual zip file
|
@unlink ($zip_name); // delete potentially residual zip file
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user