1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 22:25:52 +02:00

[165891] unix local part of the fix

This commit is contained in:
David McKnight 2006-12-05 19:22:04 +00:00
parent d4619f0ce9
commit e75eb83b3f

View file

@ -1107,11 +1107,11 @@ public class LocalFileService extends AbstractFileService implements IFileServic
if (folderCopy)
{
command = "cp -r " + src + " " + target; //$NON-NLS-1$ //$NON-NLS-2$
command = "cp -Rp " + src + " " + target; //$NON-NLS-1$ //$NON-NLS-2$
}
else // it is a file
{
command = "cp " + src + " " + target; //$NON-NLS-1$ //$NON-NLS-2$
command = "cp -p " + src + " " + target; //$NON-NLS-1$ //$NON-NLS-2$
}
}
int rc = -1;