mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 17:25:38 +02:00
Bug 439607 - Can't delete directories from synchronized projects
Change-Id: I3b8a8aeef6200a92fd5623c259060c3031836809 Signed-off-by: John Eblen <jeblen@acm.org>
This commit is contained in:
parent
0f5f0fbbcb
commit
69492aa8ea
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ public class JSchProcessBuilder extends AbstractRemoteProcessBuilder {
|
|||
private String buildCommand(String cmd, List<String> environment, boolean clearEnv) {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
if (directory() != null) {
|
||||
sb.append("cd " + charEscapify(directory().toURI().getPath(), charSet) + "; "); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
sb.append("cd " + charEscapify(directory().toURI().getPath(), charSet) + " && "); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
if (clearEnv) {
|
||||
sb.append("env -i"); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue