From d246e20764dbbeea4fa900d6bb2652eadcb996e6 Mon Sep 17 00:00:00 2001 From: Mike Busch Date: Fri, 22 Apr 2016 10:17:40 -0500 Subject: [PATCH] unset CDPATH if it's set by the user --- libexec/rbenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rbenv b/libexec/rbenv index 1ad36c95..d77df669 100755 --- a/libexec/rbenv +++ b/libexec/rbenv @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -e -export -n CDPATH +unset CDPATH if [ "$1" = "--debug" ]; then export RBENV_DEBUG=1