commit | fd28a3ea351f30e4cf89a85f9f0379eb0e62c930 | [log] [tgz] |
---|---|---|
author | Aaron Digulla <digulla@hepe.com> | Wed May 16 15:18:56 2012 +0200 |
committer | Aaron Digulla <digulla@hepe.com> | Wed May 16 15:18:56 2012 +0200 |
tree | 49d30f374cfeac632b6c55ac4bb0e0b17f939875 | |
parent | 1f66590f874bb480e8b79470803a9d80dc78abad [diff] |
Adding missing makedirs()
diff --git a/src/main/groovy/m4e/p2/DownloadMetadata.groovy b/src/main/groovy/m4e/p2/DownloadMetadata.groovy index 2195cf3..0e4a79c 100644 --- a/src/main/groovy/m4e/p2/DownloadMetadata.groovy +++ b/src/main/groovy/m4e/p2/DownloadMetadata.groovy
@@ -82,6 +82,8 @@ config.setProperty( FILE_NOT_FOUND_KEY, fileNotFound.toExternalForm() ) } + metaFile?.parentFile.makedirs() + metaFile.withOutputStream { config.store( it, null ) }