mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-09 20:13:54 -05:00
Preserve original IFS
This commit is contained in:
@@ -309,9 +309,10 @@ after_virtualenv() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Load plugin hooks.
|
# Load plugin hooks.
|
||||||
for script in $(pyenv-hooks virtualenv); do
|
OLDIFS="$IFS"
|
||||||
source "$script"
|
IFS=$'\n' scripts=(`pyenv-hooks virtualenv`)
|
||||||
done
|
IFS="$OLDIFS"
|
||||||
|
for script in "${scripts[@]}"; do source "$script"; done
|
||||||
|
|
||||||
|
|
||||||
[ -d "${VIRTUALENV_PATH}" ] && PREFIX_EXISTS=1
|
[ -d "${VIRTUALENV_PATH}" ] && PREFIX_EXISTS=1
|
||||||
|
|||||||
Reference in New Issue
Block a user