1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

bug 212596: JUnit failures in cdt.managedbuilder.test.suite

Added quotes to accommodate names with spaces for diff command
This commit is contained in:
Andrew Gvozdev 2009-10-11 01:29:24 +00:00
parent 29f917fa8f
commit 3769377fb6

View file

@ -32,7 +32,7 @@ public class DiffUtil {
private static String createCommand(String location1, String location2){
StringBuffer buf = new StringBuffer();
buf.append(DIFF_CMD).append(" ").append(location1).append(" ").append(location2);
buf.append(DIFF_CMD).append(" '").append(location1).append("' '").append(location2).append("'");
return buf.toString();
}