Skip to content

Commit 81e0589

Browse files
Williangalvanipatrickelectric
authored andcommitted
install.sh: deal with capitalized docker user being interpreted as a host
1 parent 03285bd commit 81e0589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Set desired version to be installed
44
VERSION="${VERSION:-master}"
55
GITHUB_REPOSITORY=${GITHUB_REPOSITORY:-bluerobotics/blueos-docker}
6-
DOCKER_USER=${DOCKER_USER:-$(echo $GITHUB_REPOSITORY | cut -d'/' -f1)}
6+
DOCKER_USER=${DOCKER_USER:-$(echo $GITHUB_REPOSITORY | cut -d'/' -f1 | tr '[:upper:]' '[:lower:]')}
77
REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}"
88
ROOT="$REMOTE/$VERSION"
99

0 commit comments

Comments
 (0)