mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-28 07:41:07 +01:00
Merge pull request #737 from huerlisi/improve-upgrade-steps
Add 'cd -' to proposed steps to upgrade ruby-build
This commit is contained in:
commit
e9567fc8b4
2 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ if [ "$STATUS" == "2" ]; then
|
||||||
echo " brew update && brew upgrade ruby-build"
|
echo " brew update && brew upgrade ruby-build"
|
||||||
elif [ -d "${here}/.git" ]; then
|
elif [ -d "${here}/.git" ]; then
|
||||||
printf ":\n\n"
|
printf ":\n\n"
|
||||||
echo " cd ${here} && git pull"
|
echo " cd ${here} && git pull && cd -"
|
||||||
else
|
else
|
||||||
printf ".\n"
|
printf ".\n"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ See all available versions with \`rbenv install --list'.
|
||||||
|
|
||||||
If the version you need is missing, try upgrading ruby-build:
|
If the version you need is missing, try upgrading ruby-build:
|
||||||
|
|
||||||
cd ${BATS_TEST_DIRNAME}/.. && git pull
|
cd ${BATS_TEST_DIRNAME}/.. && git pull && cd -
|
||||||
OUT
|
OUT
|
||||||
|
|
||||||
unstub ruby-build
|
unstub ruby-build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue