fix: install_cli.sh install command

This commit is contained in:
Pavel Sviderski
2025-02-06 13:56:56 +10:00
parent 7d25bbafdf
commit b451f2cf7c
+1 -1
View File
@@ -96,7 +96,7 @@ if [ -z "${SUDO}" ]; then
else else
echo "Installing uncloud binary to ${INSTALL_DIR} using sudo. You may be prompted for your password." echo "Installing uncloud binary to ${INSTALL_DIR} using sudo. You may be prompted for your password."
fi fi
if ! $SUDO install "${BINARY_NAME%.tar.gz}" "${INSTALL_DIR}/uncloud"; then if ! $SUDO install ./uncloud "${INSTALL_DIR}/uncloud"; then
echo "Failed to install uncloud binary to ${INSTALL_DIR}" echo "Failed to install uncloud binary to ${INSTALL_DIR}"
print_manual_install print_manual_install
exit 1 exit 1