Skip to content

Commit

Permalink
install.sh: deal with capitalized docker user being interpreted as a …
Browse files Browse the repository at this point in the history
…host
  • Loading branch information
Williangalvani committed Sep 24, 2024
1 parent c2ecb69 commit 0e5cfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 0e5cfa6

Please sign in to comment.