Merge branch 'master' into cp-shim

Conflicts:
	bin/rbenv-shim
This commit is contained in:
Joshua Peek 2011-08-02 19:38:35 -05:00
commit eccdec3740
9 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
command="$1" command="$1"
if [ -z "$command" ]; then if [ -z "$command" ]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
RBENV_COMMAND="$1" RBENV_COMMAND="$1"
if [ -z "$RBENV_COMMAND" ]; then if [ -z "$RBENV_COMMAND" ]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
if [ -n "$1" ]; then if [ -n "$1" ]; then
RBENV_VERSION="$1" RBENV_VERSION="$1"

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
mkdir -p "${HOME}/.rbenv/shims" mkdir -p "${HOME}/.rbenv/shims"
cd "${HOME}/.rbenv/shims" cd "${HOME}/.rbenv/shims"

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
RBENV_VERSION="$1" RBENV_VERSION="$1"
if [ -z "$RBENV_VERSION" ]; then if [ -z "$RBENV_VERSION" ]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
RBENV_VERSION="$1" RBENV_VERSION="$1"
if [ -z "$RBENV_VERSION" ]; then if [ -z "$RBENV_VERSION" ]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
read_version_file() { read_version_file() {
egrep -m 1 '[^[:space:]]' "$1" egrep -m 1 '[^[:space:]]' "$1"

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
RBENV_VERSION="$(rbenv-version)" RBENV_VERSION="$(rbenv-version)"

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/usr/bin/env bash -e
RBENV_VERSION="$(rbenv-version)" RBENV_VERSION="$(rbenv-version)"
RBENV_COMMAND="$1" RBENV_COMMAND="$1"