Commit e9567fc8 by Mislav Marohnić

Merge pull request #737 from huerlisi/improve-upgrade-steps

Add 'cd -' to proposed steps to upgrade ruby-build
parents b0d254f2 f2a43c55
...@@ -211,7 +211,7 @@ if [ "$STATUS" == "2" ]; then ...@@ -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'. ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment