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:
parent
d4619f0ce9
commit
e75eb83b3f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue