You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ad...@apache.org on 2026/10/14 22:03:30 UTC
(ratis-thirdparty) branch branch-1 updated: RATIS-2747. make_rc.sh help fails due to unbound variable WORKINGDIR (#210)
This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/ratis-thirdparty.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 7bc0b18 RATIS-2747. make_rc.sh help fails due to unbound variable WORKINGDIR (#210)
7bc0b18 is described below
commit 7bc0b1895f8688af51836c022e3fd6c77ef2a8a2
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Wed Oct 14 21:01:13 2026 +0200
RATIS-2747. make_rc.sh help fails due to unbound variable WORKINGDIR (#210)
(cherry picked from commit d35ba39c651b6936a1ee7e6bc1eaa659ce77a0bc)
---
dev-support/make_rc.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index b9230f0..23cebbe 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -95,6 +95,8 @@ fi
artifactid=$(mvnGet project.artifactId)
src_tar="${projectdir}/target/${artifactid}-${RATISVERSION}-src.tar.gz"
+WORKINGDIR="${projectdir}/../$(basename "${projectdir}").${RATISVERSION}-${RC}"
+
mvnFun() {
MAVEN_OPTS="${mvnopts}" ${MVN} -Dmaven.repo.local="${repodir}" "$@"
}
@@ -119,7 +121,6 @@ mvnFun() {
}
2-verify-bin() {
- WORKINGDIR="${projectdir}/../$(basename "${projectdir}").${RATISVERSION}-${RC}"
rm -rf "$WORKINGDIR"
mkdir -p "$WORKINGDIR"
echo "Extracting source tarball to $(pwd)"