This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new 75287d1f [chore] fix download script
75287d1f is described below

commit 75287d1fa669c2981f263cc5b9ad11d6c3f0fb5f
Author: mfordjody <[email protected]>
AuthorDate: Fri Jul 4 16:52:36 2025 +0800

    [chore] fix download script
---
 release/downloadDubboCandidate.sh | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/release/downloadDubboCandidate.sh 
b/release/downloadDubboCandidate.sh
index 13ba65e6..68cf9be8 100644
--- a/release/downloadDubboCandidate.sh
+++ b/release/downloadDubboCandidate.sh
@@ -85,11 +85,10 @@ if ! with_arch; then
   fi
 fi
 
-printf "%s download complete!\n" "${filename}"
-
-# Print message.
+## Print message
+printf ""
+printf "\nDubbo %s download complete!\n" "$DUBBO_VERSION"
 printf "\n"
-printf "Add the dubbo to your path with:\n"
-# shellcheck disable=SC2059
-printf "  export PATH=$(pwd)/dubbo-${DUBBO_VERSION}/bin:$PATH \n"
-printf "\n"
\ No newline at end of file
+BINDIR="$(cd "$NAME/bin" && pwd)"
+printf "add the %s directory to your environment path variable with:\n" 
"$BINDIR"
+printf "\t export PATH=\"\$PATH:%s\"\n" "$BINDIR"
\ No newline at end of file

Reply via email to