Skip to content

Commit 75287d1

Browse files
committed
[chore] fix download script
1 parent 4da2e6e commit 75287d1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

release/downloadDubboCandidate.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ if ! with_arch; then
8585
fi
8686
fi
8787

88-
printf "%s download complete!\n" "${filename}"
89-
90-
# Print message.
88+
## Print message
89+
printf ""
90+
printf "\nDubbo %s download complete!\n" "$DUBBO_VERSION"
9191
printf "\n"
92-
printf "Add the dubbo to your path with:\n"
93-
# shellcheck disable=SC2059
94-
printf " export PATH=$(pwd)/dubbo-${DUBBO_VERSION}/bin:$PATH \n"
95-
printf "\n"
92+
BINDIR="$(cd "$NAME/bin" && pwd)"
93+
printf "add the %s directory to your environment path variable with:\n" "$BINDIR"
94+
printf "\t export PATH=\"\$PATH:%s\"\n" "$BINDIR"

0 commit comments

Comments
 (0)