Skip to content

Commit 503970c

Browse files
committed
Fixed the incorrect 'injars' path separator on Windows.
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent bd61d56 commit 503970c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Proguard.Build.Tasks/Tasks/Proguard.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected override string GenerateCommandLineCommands ()
150150
builder.AppendSwitchIfNotNull ("-injars ", CompiledJavaDirectory);
151151
builder.AppendSwitchIfNotNull ("-outjar ", JavaOutputDirectory);
152152
if (AdditionalLibraries != null && AdditionalLibraries.Length > 0) {
153-
builder.AppendSwitchIfNotNull ("-injars ", AdditionalLibraries, ":");
153+
builder.AppendSwitchIfNotNull ("-injars ", AdditionalLibraries, OS.IsWindows ? ";" : ":");
154154
builder.AppendSwitchIfNotNull ("-outjar ", AdditionalLibrariesOutputDirectory);
155155
}
156156
if (Directory.Exists (LibraryProjectsTempDirectory)) {

0 commit comments

Comments
 (0)