diff --git a/FRBDK/Glue/Glue/Build/BuildToolAssociation.cs b/FRBDK/Glue/Glue/Build/BuildToolAssociation.cs index 791126057..d817a254e 100644 --- a/FRBDK/Glue/Glue/Build/BuildToolAssociation.cs +++ b/FRBDK/Glue/Glue/Build/BuildToolAssociation.cs @@ -97,7 +97,7 @@ public string ExampleCommandLine { var executable = GetExecutable(); var arguments = GetArguments($"c:\\Input.{SourceFileType}", $"c:\\Output.{DestinationFileType}", null); - return $"{GetExecutable()} {arguments}"; + return $"{executable} {arguments}"; } } @@ -196,7 +196,7 @@ private string GetExecutable() if (!string.IsNullOrEmpty(executable) && FileManager.IsRelative(executable)) { - executable = FileManager.RelativeDirectory + executable; + executable = FileManager.RemoveDotDotSlash( FileManager.RelativeDirectory + executable); } return executable; @@ -235,7 +235,7 @@ private string GetArgumentsForProcess(string sourceFile, string destinationFile, { if (!string.IsNullOrEmpty(DestinationFileArgumentPrefix)) { - arguments += DestinationFileArgumentPrefix + " \"" + destinationFile + "\""; + arguments += " " + DestinationFileArgumentPrefix + " \"" + destinationFile + "\""; } else {