From 66c4cd41914505e5d7c41a5b3ed25e8770139f88 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Sun, 25 Aug 2019 23:20:51 -0700 Subject: [PATCH] Fix file check --- gradle/stage.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/stage.gradle b/gradle/stage.gradle index 1a83ad640..3f5aab507 100644 --- a/gradle/stage.gradle +++ b/gradle/stage.gradle @@ -83,7 +83,7 @@ class StageBuildTask extends DefaultTask { class SubversionStageTask extends DefaultTask { @TaskAction def run() { - if (!file("_staged/$project.version-incubating")) + if (!new File("_staged/$project.version-incubating").exists()) // create _staged folder project.exec { commandLine "mkdir", "-p", "_staged" }