mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 18:13:31 +00:00
Merge branch 'master' into cp-shim
Conflicts: bin/rbenv-shim
This commit is contained in:
commit
eccdec3740
9 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
command="$1"
|
||||
if [ -z "$command" ]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
RBENV_COMMAND="$1"
|
||||
if [ -z "$RBENV_COMMAND" ]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
RBENV_VERSION="$1"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
mkdir -p "${HOME}/.rbenv/shims"
|
||||
cd "${HOME}/.rbenv/shims"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
RBENV_VERSION="$1"
|
||||
if [ -z "$RBENV_VERSION" ]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
RBENV_VERSION="$1"
|
||||
if [ -z "$RBENV_VERSION" ]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
read_version_file() {
|
||||
egrep -m 1 '[^[:space:]]' "$1"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
RBENV_VERSION="$(rbenv-version)"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash -e
|
||||
|
||||
RBENV_VERSION="$(rbenv-version)"
|
||||
RBENV_COMMAND="$1"
|
||||
|
|
Loading…
Reference in a new issue