mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
Merge "Bug 439607 - Can't delete directories from synchronized projects"
This commit is contained in:
commit
5f0cea6a32
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) {
|
private String buildCommand(String cmd, List<String> environment, boolean clearEnv) {
|
||||||
StringBuffer sb = new StringBuffer();
|
StringBuffer sb = new StringBuffer();
|
||||||
if (directory() != null) {
|
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) {
|
if (clearEnv) {
|
||||||
sb.append("env -i"); //$NON-NLS-1$
|
sb.append("env -i"); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue