This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new cad7d2ddc9 ISIS-2445: fixes rename script (exit with error code if env
var not set)
cad7d2ddc9 is described below
commit cad7d2ddc981bbcf9a820255827de73876b9f4a3
Author: Andi Huber <[email protected]>
AuthorDate: Fri Dec 2 14:10:25 2022 +0100
ISIS-2445: fixes rename script (exit with error code if env var not set)
---
scripts/ci/rename-all-published-sources.jsh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/ci/rename-all-published-sources.jsh
b/scripts/ci/rename-all-published-sources.jsh
index ec09f51d74..a0669fa563 100644
--- a/scripts/ci/rename-all-published-sources.jsh
+++ b/scripts/ci/rename-all-published-sources.jsh
@@ -314,10 +314,11 @@ class RenameProject {
}
-var rootPath = "" + System.getenv("PROJECT_LEGACY_ROOT_PATH");
+var rootPath = "" + System.getenv("ROOT_PATH_LEGACY");
if(rootPath.isBlank()
|| ! new File(rootPath).exists()) {
- throw new IllegalArgumentException("env PROJECT_LEGACY_ROOT_PATH must
point to an existing directory");
+ System.err.println("env ROOT_PATH_LEGACY must point to an existing
directory");
+ /exit 1
}
var root = new File(rootPath);