diff --git a/bin/rbenv b/bin/rbenv index c951960..30f1a18 100755 --- a/bin/rbenv +++ b/bin/rbenv @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e command="$1" if [ -z "$command" ]; then diff --git a/bin/rbenv-exec b/bin/rbenv-exec index 59a122b..16039d8 100755 --- a/bin/rbenv-exec +++ b/bin/rbenv-exec @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e RBENV_COMMAND="$1" if [ -z "$RBENV_COMMAND" ]; then diff --git a/bin/rbenv-path b/bin/rbenv-path index ba77369..a37c9ed 100755 --- a/bin/rbenv-path +++ b/bin/rbenv-path @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e if [ -n "$1" ]; then RBENV_VERSION="$1" diff --git a/bin/rbenv-rehash b/bin/rbenv-rehash index 692cfac..8bbd53b 100755 --- a/bin/rbenv-rehash +++ b/bin/rbenv-rehash @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e mkdir -p "${HOME}/.rbenv/shims" cd "${HOME}/.rbenv/shims" diff --git a/bin/rbenv-set-default b/bin/rbenv-set-default index 0632747..a36f231 100755 --- a/bin/rbenv-set-default +++ b/bin/rbenv-set-default @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e RBENV_VERSION="$1" if [ -z "$RBENV_VERSION" ]; then diff --git a/bin/rbenv-set-local b/bin/rbenv-set-local index 0f2a1bf..59512db 100755 --- a/bin/rbenv-set-local +++ b/bin/rbenv-set-local @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e RBENV_VERSION="$1" if [ -z "$RBENV_VERSION" ]; then diff --git a/bin/rbenv-shim b/bin/rbenv-shim index b234180..0acca18 100755 --- a/bin/rbenv-shim +++ b/bin/rbenv-shim @@ -1,5 +1,3 @@ -#!/bin/bash - -set -e +#!/bin/bash -e exec rbenv-exec "${0##*/}" "$@" diff --git a/bin/rbenv-version b/bin/rbenv-version index 605c755..1337e36 100755 --- a/bin/rbenv-version +++ b/bin/rbenv-version @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e read_version_file() { egrep -m 1 '[^[:space:]]' "$1" diff --git a/bin/rbenv-versions b/bin/rbenv-versions index 97f217c..b3faad6 100755 --- a/bin/rbenv-versions +++ b/bin/rbenv-versions @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e RBENV_VERSION="$(rbenv-version)" diff --git a/bin/rbenv-which b/bin/rbenv-which index c14134e..cb63d8d 100755 --- a/bin/rbenv-which +++ b/bin/rbenv-which @@ -1,6 +1,4 @@ -#!/bin/bash - -set -e +#!/bin/bash -e RBENV_VERSION="$(rbenv-version)" RBENV_COMMAND="$1"