diff options
-rw-r--r-- | distribute_setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distribute_setup.py b/distribute_setup.py index 194861b5..002e3a85 100644 --- a/distribute_setup.py +++ b/distribute_setup.py @@ -361,8 +361,8 @@ def _under_prefix(location): if len(args) > index: top_dir = args[index+1] return location.startswith(top_dir) - elif option == '--user' and USER_SITE is not None: - return location.startswith(USER_SITE) + if arg == '--user' and USER_SITE is not None: + return location.startswith(USER_SITE) return True |