diff --git a/build.xml b/build.xml
index 4cd295efe..863010865 100644
--- a/build.xml
+++ b/build.xml
@@ -941,7 +941,7 @@
+ description="--> creates the Apache Ant Test Utilities jar">
We cannot build the test jar unless JUnit is present,
@@ -1357,12 +1357,12 @@
keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
knownhosts="${ssh.knownhosts}"
failonerror="false"
- command="mkdir ${ssh.dist.directory}" />
+ command="mkdir -p ${ssh.dist.directory}" />
+ command="mkdir -p ${ssh.jars.directory}"/>