diff --git a/src/fr/monlouyan/bakefile/CommandExecutor.java b/src/fr/monlouyan/bakefile/CommandExecutor.java index 736de20..feec7c5 100644 --- a/src/fr/monlouyan/bakefile/CommandExecutor.java +++ b/src/fr/monlouyan/bakefile/CommandExecutor.java @@ -101,14 +101,16 @@ public class CommandExecutor { if (ignoreErrors && displayLine.trim().startsWith("-")) { displayLine = displayLine.replaceFirst("\\s*-\\s*", " ").trim(); } + + displayLine = BakefileParser.expandVariables(displayLine); System.out.println(displayLine); isFirstLine = false; } else { // Pour les lignes suivantes, également supprimer l'indentation if (line.startsWith("\t")) { - System.out.println(line.substring(1)); + System.out.println(BakefileParser.expandVariables(line.substring(1))); } else { - System.out.println(line); + System.out.println(BakefileParser.expandVariables(line)); } } }