From 0e5cfa699a7544e5d2ea04b4f2f5599ecdea3d2d Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Fri, 20 Sep 2024 11:03:59 -0300 Subject: [PATCH] install.sh: deal with capitalized docker user being interpreted as a host --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.sh b/install/install.sh index c015fb61d8..a7108d4fe8 100755 --- a/install/install.sh +++ b/install/install.sh @@ -3,7 +3,7 @@ # Set desired version to be installed VERSION="${VERSION:-master}" GITHUB_REPOSITORY=${GITHUB_REPOSITORY:-bluerobotics/blueos-docker} -DOCKER_USER=${DOCKER_USER:-$(echo $GITHUB_REPOSITORY | cut -d'/' -f1)} +DOCKER_USER=${DOCKER_USER:-$(echo $GITHUB_REPOSITORY | cut -d'/' -f1 | tr '[:upper:]' '[:lower:]')} REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}" ROOT="$REMOTE/$VERSION"