mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 545192 - Convert directory path in docker for windows
Change-Id: I69c09d391e333495b57f09d7b7f5818a5428424f Signed-off-by: Hannes Vogt <hannes@havogt.de>
This commit is contained in:
parent
d84e61890d
commit
3e674afd51
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %Plugin.name
|
Bundle-Name: %Plugin.name
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.docker.launcher;singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.docker.launcher;singleton:=true
|
||||||
Bundle-Version: 1.2.100.qualifier
|
Bundle-Version: 1.2.200.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.docker.launcher.DockerLaunchUIPlugin
|
Bundle-Activator: org.eclipse.cdt.docker.launcher.DockerLaunchUIPlugin
|
||||||
Bundle-Vendor: %Plugin.vendor
|
Bundle-Vendor: %Plugin.vendor
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -187,7 +187,7 @@ public class ContainerCommandLauncher implements ICommandLauncher, ICBuildComman
|
||||||
String modifiedArg = realArg;
|
String modifiedArg = realArg;
|
||||||
// if the directory of the arg as a file exists, we mount it
|
// if the directory of the arg as a file exists, we mount it
|
||||||
// and modify the argument to be unix-style
|
// and modify the argument to be unix-style
|
||||||
if (f.isFile()) {
|
if (f.isFile() || f.isDirectory()) {
|
||||||
f = f.getParentFile();
|
f = f.getParentFile();
|
||||||
modifiedArg = "/" //$NON-NLS-1$
|
modifiedArg = "/" //$NON-NLS-1$
|
||||||
+ p.toPortableString().replace(':', '/');
|
+ p.toPortableString().replace(':', '/');
|
||||||
|
|
Loading…
Add table
Reference in a new issue