mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Add missing set -e
This commit is contained in:
parent
99035a49a9
commit
1da746543f
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
RBENV_VERSION="$1"
|
RBENV_VERSION="$1"
|
||||||
if [ -z "$RBENV_VERSION" ]; then
|
if [ -z "$RBENV_VERSION" ]; then
|
||||||
echo "usage: rbenv set-default VERSION" >&2
|
echo "usage: rbenv set-default VERSION" >&2
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
RBENV_VERSION="$(rbenv-version)"
|
RBENV_VERSION="$(rbenv-version)"
|
||||||
|
|
||||||
for path in ~/.rbenv/versions/*; do
|
for path in ~/.rbenv/versions/*; do
|
||||||
|
|
Loading…
Reference in a new issue