nerdvegas/rez — pull request #3 by crazyswagger (2012-04-25 08:37:42+00:00)
Title: Issues with REZ_BASE_PATH and _REZ_PYTHON_BINARY when reinstalling rez (when rez.installed exists)

Fixed two issues in install.sh when reinstalling rez (when rez.installed exists).
Firstly the sed commands that repalce !REZ_BASE_PATH! in init.sh were still using $1
instead of $base_install_path.
Secondly the sed commands that replace !REZ_PYTHON_BINARY! use $_REZ_PYTHON_BINARY that is
set from rez.configured, but when reinstalling rez rez.configured was not executed. So
I changed it so that rez.configured is always executed, so that all configuration variables
are available when installing or reinstalling.