You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2019/09/23 01:35:19 UTC
[incubator-tuweni] 06/07: Fix file check
This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
commit 8e20edebe3ad3817c72a907f59a0bd6d8afc14d7
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Sun Aug 25 23:20:51 2019 -0700
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 1a83ad6..3f5aab5 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" }
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org