File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ BINARIES=(
99 " zenoh"
1010 " zenoh-plugin-webserver"
1111 " zenoh-backend-filesystem"
12+ " zenoh-plugin-remote-api/zenoh-ts"
1213)
1314
1415echo " Installing project $PROJECT_NAME and friends with version $VERSION "
@@ -51,9 +52,17 @@ echo "Downloading binaries..."
5152DOWNLOAD_FOLDER=" /tmp/zenoh_and_friends"
5253mkdir -p " $DOWNLOAD_FOLDER "
5354for BINARY in " ${BINARIES[@]} " ; do
54- URL=" https://download.eclipse.org/zenoh/${BINARY} /${VERSION} /${BINARY} -${VERSION} -${TOOLCHAIN} -standalone.zip"
55+ if [[ " $BINARY " == * " /" * ]]; then
56+ BINARY_URL_PATH=" ${BINARY%/* } "
57+ BINARY_URL_NAME=" ${BINARY##*/ } "
58+ else
59+ BINARY_URL_PATH=" $BINARY "
60+ BINARY_URL_NAME=" $BINARY "
61+ fi
62+
63+ URL=" https://download.eclipse.org/zenoh/${BINARY_URL_PATH} /${VERSION} /${BINARY_URL_NAME} -${VERSION} -${TOOLCHAIN} -standalone.zip"
5564 echo " - Download: ${URL} "
56- wget -q " $URL " -O " ${DOWNLOAD_FOLDER} /${BINARY } .zip"
65+ wget -q " $URL " -O " ${DOWNLOAD_FOLDER} /${BINARY_URL_PATH } .zip"
5766done
5867echo " Downloaded all binaries, now installing to $BINARY_PATH "
5968
You can’t perform that action at this time.
0 commit comments