Correction de bug
This commit is contained in:
parent
e650145a2e
commit
fa22903318
@ -101,14 +101,16 @@ public class CommandExecutor {
|
|||||||
if (ignoreErrors && displayLine.trim().startsWith("-")) {
|
if (ignoreErrors && displayLine.trim().startsWith("-")) {
|
||||||
displayLine = displayLine.replaceFirst("\\s*-\\s*", " ").trim();
|
displayLine = displayLine.replaceFirst("\\s*-\\s*", " ").trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
displayLine = BakefileParser.expandVariables(displayLine);
|
||||||
System.out.println(displayLine);
|
System.out.println(displayLine);
|
||||||
isFirstLine = false;
|
isFirstLine = false;
|
||||||
} else {
|
} else {
|
||||||
// Pour les lignes suivantes, également supprimer l'indentation
|
// Pour les lignes suivantes, également supprimer l'indentation
|
||||||
if (line.startsWith("\t")) {
|
if (line.startsWith("\t")) {
|
||||||
System.out.println(line.substring(1));
|
System.out.println(BakefileParser.expandVariables(line.substring(1)));
|
||||||
} else {
|
} else {
|
||||||
System.out.println(line);
|
System.out.println(BakefileParser.expandVariables(line));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user