--- xulrunner-27.0/mozilla/python/mozbuild/mozbuild/virtualenv.py~ 2013-05-11 21:19:23.000000000 +0200 +++ xulrunner-27.0/mozilla/python/mozbuild/mozbuild/virtualenv.py 2013-05-14 22:51:32.136719267 +0200 @@ -71,8 +71,7 @@ @property def virtualenv_script_path(self): """Path to virtualenv's own populator script.""" - return os.path.join(self.topsrcdir, 'third_party', 'python', - 'virtualenv', 'virtualenv.py') + return '/usr/bin/virtualenv-2' @property def bin_path(self): @@ -294,7 +293,7 @@ into the wrong place. This is how virtualenv's work. """ packages = self.packages() - python_lib = distutils.sysconfig.get_python_lib() + python_lib = distutils.sysconfig.get_python_lib(1) def handle_package(package): if package[0] == 'setup.py':