Mercurial > parpg-core
changeset 22:a2b1966ebe5a
Fixed bug in wscript that caused FIFEPATH to be set to the wrong default.
* FIFEPATH was incorrectly being set to the current working directory when no argument was specified, the default should have been Python's site-packages directory.
* FIFEPATH should now correctly default to Python's site-packages when no --fifepath argument is specified.
author | M. George Hansen <technopolitica@gmail.com> |
---|---|
date | Wed, 15 Jun 2011 21:44:19 -1000 |
parents | feceb6130570 |
children | 1226d7cbcbe2 |
files | wscript |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wscript Wed Jun 15 20:15:18 2011 -1000 +++ b/wscript Wed Jun 15 21:44:19 2011 -1000 @@ -28,7 +28,7 @@ min_python_version = (2, 6) cnf.check_python_version(min_python_version) - if not cnf.options.fifepath: + if cnf.options.fifepath: cnf.env['FIFEPATH'] = os.path.abspath( os.path.expanduser(cnf.options.fifepath) )