Commit bc59d265 authored by Drahomír Karchňák's avatar Drahomír Karchňák

#755 Create desktop/build folder if it doesnt exist.

parent bc99fa86
......@@ -151,7 +151,10 @@ def runItest(String iTestName) {
def download(String remoteUrl, String localUrl) {
File localFile = new File(localUrl)
if(!localFile.exists()) localFile.createNewFile()
if(!localFile.exists()) {
localFile.mkdirs()
localFile.createNewFile()
}
localFile.withOutputStream { out ->
new URL(remoteUrl).withInputStream { from -> out << from; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment