Modification des codes de sortie pour les erreurs dans le système de build
This commit is contained in:
@@ -162,7 +162,7 @@ public class BakefileParser {
|
||||
|
||||
if (!Files.exists(Paths.get(filename))) {
|
||||
System.out.println("*** No targets specified and no makefile found. Stop.");
|
||||
System.exit(1);
|
||||
System.exit(2);
|
||||
}
|
||||
|
||||
try {
|
||||
@@ -192,7 +192,7 @@ public class BakefileParser {
|
||||
|
||||
if (line.matches("^ +.*$")) {
|
||||
System.err.println(filename + ":" + (i+1) + ": *** missing separator. Stop.");
|
||||
System.exit(1);
|
||||
System.exit(2);
|
||||
}
|
||||
|
||||
Matcher varMatcher = VARIABLE_PATTERN.matcher(line);
|
||||
|
Reference in New Issue
Block a user