Browse Source

- fix conditional

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270895 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
412dbba3db
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Mkdir.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Mkdir.java View File

@@ -79,7 +79,7 @@ public class Mkdir extends Task {

if (!dir.exists()) {
boolean result = dir.mkdirs();
if (result == false) {
if (!result) {
String msg = "Directory " + dir.getAbsolutePath() + " creation was not " +
"successful for an unknown reason";
throw new BuildException(msg, location);


Loading…
Cancel
Save