From cc6722ad7894a2cf5db42d9a7444f1067a2613b8 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 15 Nov 2016 16:49:47 +0100 Subject: [PATCH] fix build script --- upload_plugins.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/upload_plugins.gradle b/upload_plugins.gradle index d84d8706571..fd90ab3a018 100644 --- a/upload_plugins.gradle +++ b/upload_plugins.gradle @@ -18,7 +18,10 @@ task uploadPlugins() << { if (channel == "_default_") { channel = null } - def path = env['PLUGIN_UPLOAD_PATH'] || "." + def path = env['PLUGIN_UPLOAD_PATH'] + if (path == null) { + path = "." + } def repo = new org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance( "https://plugins.jetbrains.com/", username, password)