Skip to content

Commit e51c24c

Browse files
authored
install-badge-dev-env script fixes (#2148)
* fix 'case' syntax in install-badge-dev-env Signed-off-by: Arnout Engelen <[email protected]> * use https:// instead of git:// in install-badge-dev-env unauthenticated git has been discontinued https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git Signed-off-by: Arnout Engelen <[email protected]> --------- Signed-off-by: Arnout Engelen <[email protected]>
1 parent aa6191a commit e51c24c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install-badge-dev-env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ case "$manager" in
160160
brew)
161161
# We'll use the brew version. Install these to rebuild rbenv:
162162
# add_pkg openssl libyaml libffi
163-
add_pkg rbenv ruby-build graphviz postgres cmake
163+
add_pkg rbenv ruby-build graphviz postgres cmake ;;
164164

165165
apt-get)
166166
# We'll use the system version. If you want to use the latest one
@@ -267,7 +267,7 @@ fi
267267
if [ "$DO_LOCAL_RBENV" = 'yes' ] ; then
268268
echo 'Downloading and installing rbenv from GitHub' >&2
269269
if ! [ -d ~/.rbenv ] ; then
270-
git clone git://github.com/rbenv/rbenv.git ~/.rbenv
270+
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
271271
fi
272272
# Following performed in subshell so as not to change working directory.
273273
(
@@ -297,7 +297,7 @@ if [ "${MYINSTALL_RBENV_BUNDLER}" = 'yes' ] && \
297297
! [ -e "$HOME/.rbenv/plugins/bundler" ] ; then
298298
echo 'Downloading and installing rbenv-bundler from GitHub' >&2
299299
mkdir -p "$HOME/.rbenv/plugins/"
300-
git clone git://github.com/carsomyr/rbenv-bundler.git \
300+
git clone https://github.com/carsomyr/rbenv-bundler.git \
301301
"$HOME/.rbenv/plugins/bundler"
302302
fi
303303

0 commit comments

Comments
 (0)