unset CDPATH if it's set by the user

This commit is contained in:
Mike Busch 2016-04-22 10:17:40 -05:00
parent 29b4da7737
commit d246e20764

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
export -n CDPATH
unset CDPATH
if [ "$1" = "--debug" ]; then
export RBENV_DEBUG=1