Restore OLDIFS expectedly

This commit is contained in:
Yamashita Yuu 2014-01-02 23:10:38 +09:00
parent d03f290b5d
commit f538169992

View file

@ -13,7 +13,7 @@ if [ -z "$PYENV_VERSION" ]; then
else else
OLDIFS="$IFS" OLDIFS="$IFS"
IFS=: versions=($(echo "${PYENV_VERSION}")) IFS=: versions=($(echo "${PYENV_VERSION}"))
IFS="$IFS" IFS="$OLDIFS"
fi fi
if [ -z "$versions" ] || [ "$versions" = "system" ]; then if [ -z "$versions" ] || [ "$versions" = "system" ]; then